summaryrefslogtreecommitdiffstats
path: root/roles/ipa
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-10-18 17:43:01 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-10-18 17:43:22 +0000
commitc74bd6d108aadd437411ac55a67a015523b92d05 (patch)
treeb79b950b3ceabdfc99ae758b4e7d0ae5cc9f0074 /roles/ipa
parent70dc0c4c0f64eae69fcbde281d33ea54a5da0c9e (diff)
downloadansible-c74bd6d108aadd437411ac55a67a015523b92d05.tar.gz
ansible-c74bd6d108aadd437411ac55a67a015523b92d05.tar.xz
ansible-c74bd6d108aadd437411ac55a67a015523b92d05.zip
Move ipa to ipa/server
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/ipa')
-rw-r--r--roles/ipa/server/files/configure-ipa.sh (renamed from roles/ipa/files/configure-ipa.sh)0
-rw-r--r--roles/ipa/server/tasks/main.yml (renamed from roles/ipa/tasks/main.yml)24
2 files changed, 12 insertions, 12 deletions
diff --git a/roles/ipa/files/configure-ipa.sh b/roles/ipa/server/files/configure-ipa.sh
index eca8875f2..eca8875f2 100644
--- a/roles/ipa/files/configure-ipa.sh
+++ b/roles/ipa/server/files/configure-ipa.sh
diff --git a/roles/ipa/tasks/main.yml b/roles/ipa/server/tasks/main.yml
index aabdd0fa1..a927881a7 100644
--- a/roles/ipa/tasks/main.yml
+++ b/roles/ipa/server/tasks/main.yml
@@ -8,13 +8,13 @@
- ipa-server
- ipa-server-dns
tags:
- - ipa
+ - ipa/server
- packages
- name: enable haveged
service: name=haveged state=started enabled=yes
tags:
- - haveged
+ - ipa/server
- config
- name: install IPA
@@ -34,7 +34,7 @@
--log-file=/var/log/ipainstall.log
creates=/etc/ipa/default.conf
tags:
- - ipa
+ - ipa/server
- config
when: inventory_hostname.startswith("ipa01")
@@ -45,7 +45,7 @@
--log-file=/var/log/ipakrainstall.log
creates=/var/log/ipakrainstall.log
tags:
- - ipa
+ - ipa/server
- config
when: inventory_hostname.startswith("ipa01")
@@ -53,7 +53,7 @@
stat: path=/etc/ipa/default.conf
register: replication_status
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01")
@@ -65,7 +65,7 @@
{{inventory_hostname}}
creates=/var/lib/ipa/replica-info-{{inventory_hostname}}.gpg
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
@@ -75,7 +75,7 @@
dest=/tmp/ipa_replica_{{inventory_hostname}}.gpg
flat=yes
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
@@ -84,7 +84,7 @@
dest=/root/ipa_replica_{{inventory_hostname}}.gpg
mode=0600 owner=root group=root
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
@@ -92,7 +92,7 @@
delegate_to: localhost
file: path=/tmp/ipa_replica_{{inventory_hostname}}.gpg state=absent
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
@@ -115,7 +115,7 @@
/root/ipa_replica_{{inventory_hostname}}.gpg
creates=/etc/ipa/default.conf
tags:
- - ipa
+ - ipa/server
- config
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
@@ -123,13 +123,13 @@
copy: src=configure-ipa.sh dest=/root/configure-ipa.sh mode=0700 owner=root group=root
register: config_deployed
tags:
- - ipa
+ - ipa/server
- config
when: inventory_hostname.startswith("ipa01")
- name: Run configuration script
command: /bin/bash /root/configure-ipa.sh {{ipa_dm_password}} {{ipa_admin_password}}
tags:
- - ipa
+ - ipa/server
- config
when: inventory_hostname.startswith("ipa01") and config_deployed.changed