Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. ---
  2.  
  3. # Run with ansible-playbook <filename> -k
  4. # (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)
  5.  
  6. - name: SSH into remote Arch ISO and perform installation on Disk
  7. gather_facts: False
  8. hosts: all
  9. vars:
  10. ssh_key: id_rsa.pub # ssh copied to hosts for key based login after provisioning. #Put it in the pubkeys directory
  11. pubkeys_path: /home/myusername/_Scripts/Ansible_Scripts/Master/Arch_targets/pubkeys
  12. temp_pass: arch # temporary password that is initially set on the hosts to allow remote access
  13. timezone: America/New_York # Time zone that will be linked to /etc/localtime
  14. locale_gen: en_US.UTF-8 UTF-8 # Locale to be added to /etc/locale.gen
  15. locale_conf: LANG=en_US.UTF-8 # Language info to be added to /etc/locale.conf
  16. base_hostname: archvmtest # Base hostname to increment off of for multiple hosts, if not specified
  17. domain_name: mydomain.net # Domain name hosts reside on
  18.  
  19. remote_user: root
  20. roles:
  21. - install_arch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement