feat: Configure playbook to run common role on all hosts
This commit is contained in:
parent
f1b574353e
commit
7661df74c1
@ -1,16 +1,10 @@
|
||||
all:
|
||||
children:
|
||||
oracle-cloud-instances:
|
||||
hosts:
|
||||
sublimePorte:
|
||||
ansible_host: 130.162.231.152
|
||||
ansible_user: ubuntu
|
||||
ansible_ssh_private_key_file: ~/.ssh/ora-cloud/sublime-key.key
|
||||
webservices:
|
||||
ansible_host: 79.76.127.110
|
||||
ansible_user: ubuntu
|
||||
ansible_ssh_private_key_file: ~/.ssh/ora-cloud/sublime-key.key
|
||||
yunohost:
|
||||
ansible_host: 141.147.24.166
|
||||
ansible_user: ubuntu
|
||||
ansible_ssh_private_key_file: ~/.ssh/ora-cloud/sublime-key.key
|
||||
hosts:
|
||||
Mulder:
|
||||
ansible_host: 130.162.234.190
|
||||
ansible_user: ubuntu
|
||||
ansible_ssh_private_key_file: secrets/sublime-key.key
|
||||
Scully:
|
||||
ansible_host: 92.5.121.208
|
||||
ansible_user: ubuntu
|
||||
ansible_ssh_private_key_file: secrets/sublime-key.key
|
||||
@ -1,21 +1,5 @@
|
||||
- name: Set up reverse Proxy
|
||||
hosts: sublimePorte
|
||||
- name: Apply common role to all hosts
|
||||
hosts: all
|
||||
become: true
|
||||
roles:
|
||||
# - common
|
||||
# - zsh_with_style
|
||||
# - docker
|
||||
# - portainer
|
||||
#- network
|
||||
# - containers
|
||||
- name: Set up webservices
|
||||
hosts: webservices
|
||||
become: true
|
||||
roles:
|
||||
- gitea
|
||||
# - authentik
|
||||
# - common
|
||||
# - zsh_with_style
|
||||
# - docker
|
||||
# - portainer
|
||||
# - containers
|
||||
- common
|
||||
Loading…
x
Reference in New Issue
Block a user