mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
More readable Ansible output
This commit is contained in:
parent
8d58b1cfbb
commit
d6bbb9cd07
1 changed files with 6 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
||||||
- name: copy wshaper service script
|
- name: Copy Wondershaper service script
|
||||||
template: backup=yes
|
template: backup=yes
|
||||||
src=wondershaper/wondershaper.service
|
src=wondershaper/wondershaper.service
|
||||||
dest=/etc/systemd/system/wondershaper.service
|
dest=/etc/systemd/system/wondershaper.service
|
||||||
mode=0644
|
mode=0644
|
||||||
|
|
||||||
- name: copy wshaper script
|
- name: Copy Wondershaper script
|
||||||
template: backup=yes
|
template: backup=yes
|
||||||
src=wondershaper/wondershaper.j2
|
src=wondershaper/wondershaper.j2
|
||||||
dest=/usr/bin/wondershaper
|
dest=/usr/bin/wondershaper
|
||||||
|
@ -12,21 +12,21 @@
|
||||||
group=root
|
group=root
|
||||||
mode=0744
|
mode=0744
|
||||||
|
|
||||||
- name: create conf.d directory
|
- name: Create conf.d directory
|
||||||
file: path=/etc/conf.d
|
file: path=/etc/conf.d
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0755
|
mode=0755
|
||||||
state=directory
|
state=directory
|
||||||
|
|
||||||
- name: copy wshaper config script
|
- name: Copy Wondershaper config script
|
||||||
template: src=wondershaper/wondershaper.conf
|
template: src=wondershaper/wondershaper.conf
|
||||||
dest=/etc/conf.d/wondershaper.conf
|
dest=/etc/conf.d/wondershaper.conf
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0600
|
mode=0600
|
||||||
|
|
||||||
- name: create fact for wondershaper config file
|
- name: Create fact for Wondershaper config file
|
||||||
file: src=/etc/conf.d/wondershaper.conf
|
file: src=/etc/conf.d/wondershaper.conf
|
||||||
dest=/etc/ansible/facts.d/wondershaper.fact
|
dest=/etc/ansible/facts.d/wondershaper.fact
|
||||||
owner=root
|
owner=root
|
||||||
|
@ -42,6 +42,6 @@
|
||||||
- option: name
|
- option: name
|
||||||
value: wondershaper
|
value: wondershaper
|
||||||
- option: description
|
- option: description
|
||||||
value: '"Wondershaper is a command line tool to set maximum transfer rates for network adapters"'
|
value: '"Wondershaper is a command line tool to set maximum transfer rates for network adapters."'
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ wondershaper_enabled }}"
|
value: "{{ wondershaper_enabled }}"
|
||||||
|
|
Loading…
Reference in a new issue