Use 'hosts: all' to allow running against remote machines

This commit is contained in:
Anthony Rose 2020-06-22 23:32:35 +01:00
parent d767e2b60f
commit e071690c34
4 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- name: Setup CLI - name: Setup CLI
hosts: localhost hosts: all
vars: vars:
gui: false gui: false
tasks: tasks:

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- name: Setup GUI - name: Setup GUI
hosts: localhost hosts: all
vars: vars:
gui: true gui: true
tasks: tasks:

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- name: Setup GUI for user only - name: Setup GUI for user only
hosts: localhost hosts: all
vars: vars:
gui: true gui: true
tasks: tasks:

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- name: Setup GUI for user only - name: Setup GUI for user only
hosts: localhost hosts: all
vars: vars:
gui: true gui: true
tasks: tasks: