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
---
- name: Setup CLI
hosts: localhost
hosts: all
vars:
gui: false
tasks:

View file

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

View file

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

View file

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