summaryrefslogtreecommitdiffstats
path: root/roles/ands_pods/tasks/compute.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-25 00:19:07 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-25 00:19:07 +0200
commit9e38736b93a6b737ecb53d1f41dadf45cbb22c1c (patch)
tree33cda4d193d83772e7fd0f45e7101452497be7d3 /roles/ands_pods/tasks/compute.yml
parent15890ccdef55168e9753ff6957ce64096837c627 (diff)
downloaditm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.gz
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.bz2
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.tar.xz
itm-9e38736b93a6b737ecb53d1f41dadf45cbb22c1c.zip
Various stuff to pre-configure compute nodes
Diffstat (limited to 'roles/ands_pods/tasks/compute.yml')
-rw-r--r--roles/ands_pods/tasks/compute.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/ands_pods/tasks/compute.yml b/roles/ands_pods/tasks/compute.yml
new file mode 100644
index 0000000..649a6e0
--- /dev/null
+++ b/roles/ands_pods/tasks/compute.yml
@@ -0,0 +1,6 @@
+- name: Start DistCC daemon
+ systemd: name="distcc" daemon_reload="yes" state="restarted" enabled="yes"
+ become: yes
+
+- name: Open DistCC port
+ firewalld: port="3632/tcp" state="enabled" permanent="true" immediate="true"