-
Notifications
You must be signed in to change notification settings - Fork 15
/
site.yml
56 lines (52 loc) · 1.15 KB
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- hosts: all
connection: paramiko
remote_user: "{{ cloud_user }}"
tasks:
- name: tty-less sudo
sudo: yes
lineinfile: dest=/etc/sudoers
state=absent
regexp='^Defaults(\s+)requiretty(\s*)$'
validate='visudo -cf %s'
- hosts: ipa
remote_user: "{{ cloud_user }}"
tags: all
tasks: []
- hosts: ipa
sudo: yes
remote_user: "{{ cloud_user }}"
tags:
- ipa
roles:
- common
- ipaserver
- ipsilonserver
vars:
hostname: "{{ ansible_fqdn }}"
ipa_admin_password: "{{ ipa_admin_user_password }}"
# - hosts: satellite
# sudo: yes
# remote_user: "{{ cloud_user }}"
# tags:
# - satellite
# roles:
# - common
# - ipaclient
# - satelliteserver
# vars:
# hostname: "{{ ansible_fqdn }}"
# dns_search: "{{ ipa_domain }}"
# ipa_admin_password: "{{ipa_admin_user_password }}"
- hosts: openstack
sudo: yes
remote_user: "{{ cloud_user }}"
tags:
- openstack
roles:
- common
- ipaclient
- packstack
vars:
hostname: "{{ ansible_fqdn }}"
dns_search: "{{ ipa_domain }}"
ipa_admin_password: "{{ipa_admin_user_password }}"