Commit 2ba2cd76 authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: patch for callbox

parent 37669985
slapuser0 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser1 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser2 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser3 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser4 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser5 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser6 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser7 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser8 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser9 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser10 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser11 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser12 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser13 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser14 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser15 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser16 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser17 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser18 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser19 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser20 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser21 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser22 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser23 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser24 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser25 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser26 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser27 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser28 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser29 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser30 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser31 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser32 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser33 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser34 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser35 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser36 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser37 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser38 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser39 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser40 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser41 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser42 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser43 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser44 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser45 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser46 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser47 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser48 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser49 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser50 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser51 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser52 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser53 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser54 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser55 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser56 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser57 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser58 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser59 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser60 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser61 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser62 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser63 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser64 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser65 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser66 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser67 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser68 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser69 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser70 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser71 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser72 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser73 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser74 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser75 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser76 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser77 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser78 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser79 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser80 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser81 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser82 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser83 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser84 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser85 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser86 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser87 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser88 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser89 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser90 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser91 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser92 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser93 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser94 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser95 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser96 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser97 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser98 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
slapuser99 ALL=NOPASSWD:/opt/amarisoft/v2022-10-27/trx_sdr/sdr_util -c 0 version
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
- name: Install vifib-base playbook - name: Install vifib-base playbook
shell: ansible-playbook vifib-base.yml --extra-vars '{"period_minute":"*/10", "period_hour":"*"}' shell: ansible-playbook vifib-base.yml --extra-vars '{"period_minute":"*/10", "period_hour":"*"}'
when: vifib_cron.rc != 0 when: vifib_cron.rc != 0
- name: Remove old cron - name: Remove old cron
cron: name="Launch ors playbook every 3 hours" state=absent cron: name="Launch ors playbook every 3 hours" state=absent
...@@ -35,7 +35,20 @@ ...@@ -35,7 +35,20 @@
- name: Create a directory if it does not exist - name: Create a directory if it does not exist
file: path=/opt/amarisoft state=directory mode=0755 file: path=/opt/amarisoft state=directory mode=0755
- name: Copy init-sdr script - name: Give permission to slapuser to launch init-sdr script
copy: src=slapuser-init-sdr dest=/etc/sudoers.d owner=root mode=440
- name: Give permission to slapuser to launch init-enb script
copy: src=slapuser-init-enb dest=/etc/sudoers.d owner=root mode=440
- name: Give permission to slapuser to launch sdr-util script
copy: src=slapuser-sdr-util dest=/etc/sudoers.d owner=root mode=440
- name: Check if /opt/amarisoft exists
stat: path=/opt/amarisoft
register: opt_amarisoft
- name: Copy init SDR script
copy: src=init-sdr dest=/opt/amarisoft owner=root mode=770 copy: src=init-sdr dest=/opt/amarisoft owner=root mode=770
- name: Copy init-enb script - name: Copy init-enb script
...@@ -84,9 +97,6 @@ ...@@ -84,9 +97,6 @@
- name: Configure re6st - name: Configure re6st
script: configure-re6st script: configure-re6st
- name: Configure /etc/network/interfaces
copy: src=interfaces dest=/etc/network/interfaces owner=root mode=644
- name: Configure dhcp timeout - name: Configure dhcp timeout
lineinfile: dest=/etc/dhcp/dhclient.conf regexp="^timeout (.*)" line="timeout 15" state=present lineinfile: dest=/etc/dhcp/dhclient.conf regexp="^timeout (.*)" line="timeout 15" state=present
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment