inventory: up-to-date, split by server/client, enhance some auth in roles
This commit is contained in:
parent
9d7ccc8246
commit
60c3ab0403
46
global.yml
46
global.yml
@ -2,34 +2,42 @@
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
hosts:
|
hosts:
|
||||||
|
iodine:
|
||||||
|
ansible_host: iodine.int.finallycoffee.eu
|
||||||
|
ansible_user: jdreichmann
|
||||||
|
ansible_become_user: jdreichmann
|
||||||
|
ansible_become: true
|
||||||
carbon:
|
carbon:
|
||||||
ansible_host: carbon.int.finallycoffee.eu
|
ansible_host: carbon.int.finallycoffee.eu
|
||||||
iron:
|
# iron:
|
||||||
ansible_host: iron.int.finallycoffee.eu
|
# ansible_host: iron.int.finallycoffee.eu
|
||||||
platinum:
|
# platinum:
|
||||||
ansible_host: platinum.int.finallycoffee.eu
|
# ansible_host: platinum.int.finallycoffee.eu
|
||||||
xenon:
|
# xenon:
|
||||||
ansible_host: xenon.int.finallycoffee.eu
|
# ansible_host: xenon.int.finallycoffee.eu
|
||||||
yttrium:
|
# yttrium:
|
||||||
ansible_host: yttrium.int.finallycoffee.eu
|
# ansible_host: yttrium.int.finallycoffee.eu
|
||||||
|
|
||||||
|
munich:
|
||||||
|
ansible_host: munich.finallycoffee.eu
|
||||||
|
ansible_user: jdreichmann
|
||||||
|
ansible_become_user: jdreichmann
|
||||||
|
ansible_become: true
|
||||||
vars:
|
vars:
|
||||||
ansible_user: transcaffeine
|
ansible_user: transcaffeine
|
||||||
ansible_become_user: transcaffeine
|
ansible_become_user: transcaffeine
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
|
|
||||||
gnupg:
|
|
||||||
hosts:
|
|
||||||
all:
|
|
||||||
|
|
||||||
redshift:
|
servers:
|
||||||
hosts:
|
hosts:
|
||||||
all:
|
iodine:
|
||||||
|
munich:
|
||||||
|
# iron:
|
||||||
|
# platinum:
|
||||||
|
|
||||||
tmux:
|
clients:
|
||||||
hosts:
|
hosts:
|
||||||
all:
|
# carbon:
|
||||||
|
# xenon:
|
||||||
vim:
|
|
||||||
hosts:
|
|
||||||
all:
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Sets up gpg and the configs for using it as a ssh-agent
|
- name: Sets up gpg and the configs for using it as a ssh-agent
|
||||||
#connection: local
|
hosts: all
|
||||||
hosts: gnupg
|
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- gnupg
|
- gnupg
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Sets up redshift and creates an autostart file
|
- name: Sets up redshift and creates an autostart file
|
||||||
hosts: redshift
|
hosts: clients
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- redshift
|
- redshift
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
package:
|
package:
|
||||||
name: gnupg2
|
name: gnupg2
|
||||||
state: latest
|
state: latest
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
become_method: sudo
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
Binary file not shown.
@ -4,6 +4,9 @@
|
|||||||
package:
|
package:
|
||||||
name: tmux
|
name: tmux
|
||||||
state: present
|
state: present
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
become_method: sudo
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Template config file into home folder
|
- name: Template config file into home folder
|
||||||
|
2
tmux.yml
2
tmux.yml
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Set up tmux
|
- name: Set up tmux
|
||||||
hosts: tmux
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- tmux
|
- tmux
|
||||||
|
Loading…
Reference in New Issue
Block a user