summaryrefslogtreecommitdiffstats
path: root/roles/devel/tasks
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
commita5dc813bab19dffe02dadfb58c19b455df199a08 (patch)
tree6940c72f6b57abcfe00a638cd480b215a2625da2 /roles/devel/tasks
parent9194983c4daf6f0e16aa382bc903b6c092d08830 (diff)
downloaditm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.gz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.bz2
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.xz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.zip
Prevent IB from crashing Fedora systems, mount Ands shared NFS storage, support development files on CentOS
Diffstat (limited to 'roles/devel/tasks')
-rw-r--r--roles/devel/tasks/dnf.yml5
-rw-r--r--roles/devel/tasks/main.yml5
-rw-r--r--roles/devel/tasks/yum.yml5
3 files changed, 15 insertions, 0 deletions
diff --git a/roles/devel/tasks/dnf.yml b/roles/devel/tasks/dnf.yml
new file mode 100644
index 0000000..1bf34f7
--- /dev/null
+++ b/roles/devel/tasks/dnf.yml
@@ -0,0 +1,5 @@
+- name: Install various ansible requirements
+ dnf: name={{item}} state=present
+ with_items:
+ - "@Development and Creative Workstation"
+ - "libconfig-devel" \ No newline at end of file
diff --git a/roles/devel/tasks/main.yml b/roles/devel/tasks/main.yml
new file mode 100644
index 0000000..02ddce1
--- /dev/null
+++ b/roles/devel/tasks/main.yml
@@ -0,0 +1,5 @@
+- include_tasks: dnf.yml
+ when: ansible_distribution | lower == 'fedora'
+
+- include_tasks: yum.yml
+ when: (ansible_os_family | lower == 'redhat') and (ansible_distribution | lower != 'fedora')
diff --git a/roles/devel/tasks/yum.yml b/roles/devel/tasks/yum.yml
new file mode 100644
index 0000000..4613ada
--- /dev/null
+++ b/roles/devel/tasks/yum.yml
@@ -0,0 +1,5 @@
+- name: Install various ansible requirements
+ yum: name={{item}} state=present
+ with_items:
+ - "@^Development and Creative Workstation"
+ - "libconfig-devel"