Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- # Run with ansible-playbook <filename> -k
- # (make sure to add the IPs of machines you want to manage to /etc/ansible/hosts first, or in a hosts file in the current directory)
- - name: SSH into remote Arch ISO and perform installation on Disk
- gather_facts: False
- hosts: all
- vars:
- ssh_key: id_rsa.pub # ssh copied to hosts for key based login after provisioning. #Put it in the pubkeys directory
- pubkeys_path: /home/myusername/_Scripts/Ansible_Scripts/Master/Arch_targets/pubkeys
- temp_pass: arch # temporary password that is initially set on the hosts to allow remote access
- timezone: America/New_York # Time zone that will be linked to /etc/localtime
- locale_gen: en_US.UTF-8 UTF-8 # Locale to be added to /etc/locale.gen
- locale_conf: LANG=en_US.UTF-8 # Language info to be added to /etc/locale.conf
- base_hostname: archvmtest # Base hostname to increment off of for multiple hosts, if not specified
- domain_name: mydomain.net # Domain name hosts reside on
- remote_user: root
- roles:
- - install_arch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement