summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-26 18:27:22 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-27 09:30:28 +0100
commitd8e2f0a68234aefcffde3723b84ce3ac69ee2c3e (patch)
treebd1cbd7778aa8ab7ade253ba554877f03ab0b7f6 /ansible/roles/gsm-tester
parent55c6811513750a89b822ba506f7823e67cc5a6bf (diff)
ansible: Fix several file permission mask format
From ansible documentation [1]: """ For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. """ [1] https://docs.ansible.com/ansible/latest/modules/template_module.html?highlight=template Change-Id: I91008927c50016a837420c4249b5f69b9153572e
Diffstat (limited to 'ansible/roles/gsm-tester')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 34846a5..d880127 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -191,7 +191,7 @@
file:
path: /usr/sbin/tcpdump
group: osmo-gsm-tester
- mode: 750
+ mode: 0750
- name: create a symlink for tcpdump
file:
@@ -219,7 +219,7 @@
copy:
src: osmo-gsm-tester_setcap_net_raw.sh
dest: /usr/local/bin/osmo-gsm-tester_setcap_net_raw.sh
- mode: 755
+ mode: 0755
- name: allow osmo-gsm-tester sudo osmo-gsm-tester_setcap_net_raw.sh
copy:
@@ -232,7 +232,7 @@
copy:
src: osmo-gsm-tester_setcap_net_admin.sh
dest: /usr/local/bin/osmo-gsm-tester_setcap_net_admin.sh
- mode: 755
+ mode: 0755
- name: allow osmo-gsm-tester sudo osmo-gsm-tester_setcap_net_admin.sh
copy:
@@ -245,7 +245,7 @@
copy:
src: osmo-gsm-tester_netns_exec.sh
dest: /usr/local/bin/osmo-gsm-tester_netns_exec.sh
- mode: 755
+ mode: 0755
- name: allow osmo-gsm-tester sudo osmo-gsm-tester_netns_exec.sh
copy:
@@ -258,7 +258,7 @@
copy:
src: osmo-gsm-tester_netns_setup.sh
dest: /usr/local/bin/osmo-gsm-tester_netns_setup.sh
- mode: 755
+ mode: 0755
- name: allow osmo-gsm-tester sudo osmo-gsm-tester_netns_setup.sh
copy: