summaryrefslogtreecommitdiffstats
path: root/roles/base_os/tasks
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-02-04 11:47:00 -0500
committerThomas Wiest <twiest@redhat.com>2015-02-05 15:53:32 -0500
commit7c1c02f3cc202acbc662f52fbc9a17911b044f24 (patch)
tree42cfe00df40943e902d2a4e73274db308b57c5b5 /roles/base_os/tasks
parent076434d7a1026540f0eee5479adddc895d73b9b0 (diff)
downloadopenshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.gz
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.bz2
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.xz
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.zip
removed the usage of yaml '>' for multiline entries and replaced them with yaml dictionaries as demonstrated by the ansible documentation.
Diffstat (limited to 'roles/base_os/tasks')
-rw-r--r--roles/base_os/tasks/main.yaml25
1 files changed, 15 insertions, 10 deletions
diff --git a/roles/base_os/tasks/main.yaml b/roles/base_os/tasks/main.yaml
index ff8cfbe33..01d2898c5 100644
--- a/roles/base_os/tasks/main.yaml
+++ b/roles/base_os/tasks/main.yaml
@@ -2,25 +2,30 @@
# basic role, configures irbrc, vimrc
- name: Ensure irbrc is installed for user root
- copy: >
- src=irbrc
- dest=/root/.irbrc
+ copy:
+ src: irbrc
+ dest: /root/.irbrc
- name: Ensure vimrc is installed for user root
- copy: >
- src=vimrc
- dest=/root/.vimrc
+ copy:
+ src: vimrc
+ dest: /root/.vimrc
- name: Ensure vimrc is installed for user root
- copy: >
- src=vimrc
- dest=/root/.vimrc
+ copy:
+ src: vimrc
+ dest: /root/.vimrc
- name: Install firewalld
- yum: pkg=firewalld state=installed
+ yum:
+ pkg: firewalld
+ state: installed
- name: enable firewalld service
command: /usr/bin/systemctl enable firewalld.service
- name: start firewalld service
command: /usr/bin/systemctl start firewalld.service
+
+- name: need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail
+ pause: seconds=10