fix runit install

This commit is contained in:
Yann Autissier
2022-06-22 10:02:09 +02:00
parent 14a4f86524
commit a75d5b4645
33 changed files with 200 additions and 71 deletions
+1
View File
@@ -3,6 +3,7 @@
- name: config - set MYOS config in /etc/default/myos
with_items:
- APP_NAME={{ lookup('env','ANSIBLE_APP_NAME') }}
- APP_TYPE={{ lookup('env','ANSIBLE_APP_TYPE') }}
- MYOS={{ lookup('env','ANSIBLE_MYOS') }}
lineinfile:
+5
View File
@@ -27,5 +27,10 @@
name: "{{item.name}}"
state: "{{item.state}}"
enabled: "{{item.enabled}}"
runlevels:
- 2
- 3
- 4
- 5
become: yes
-5
View File
@@ -46,11 +46,6 @@
- unset user_count process_count
lineinfile: dest=~/.bashrc create=yes line='{{item}}'
- name: user - update ~/.profile
with_items:
- source ~/.sh_profile
lineinfile: dest=~/.profile create=yes line='{{item}}'
- name: user - update ~/.config/git/ignore
with_items:
- '.nfs*'