summaryrefslogtreecommitdiffstats
path: root/roles/base_os/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
committerKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
commit5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (patch)
tree4c17abdd1e5b39e845d33d7d970ac216a82d766d /roles/base_os/tasks
downloadopenshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.gz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.bz2
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.xz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.zip
Initial Commit. Sharing is caring
Diffstat (limited to 'roles/base_os/tasks')
-rw-r--r--roles/base_os/tasks/main.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/base_os/tasks/main.yaml b/roles/base_os/tasks/main.yaml
new file mode 100644
index 000000000..ff8cfbe33
--- /dev/null
+++ b/roles/base_os/tasks/main.yaml
@@ -0,0 +1,26 @@
+---
+# basic role, configures irbrc, vimrc
+
+- name: Ensure irbrc is installed for user root
+ copy: >
+ src=irbrc
+ dest=/root/.irbrc
+
+- name: Ensure vimrc is installed for user root
+ copy: >
+ src=vimrc
+ dest=/root/.vimrc
+
+- name: Ensure vimrc is installed for user root
+ copy: >
+ src=vimrc
+ dest=/root/.vimrc
+
+- name: Install firewalld
+ 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