Skip to content
Snippets Groups Projects
Commit e6527517 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update to Ansible 2.2.1.0 and adjust all file mode settings to provide them as strings

parent ff20908f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
dest=/etc/sd-agent/conf.d/apache.yaml
owner=root
group=root
mode=0644
mode='644'
notify: "ServerDensity | Restart Agent"
- name: "ServerDensity | Apache | Enable some required modules"
......@@ -30,7 +30,7 @@
dest=/etc/apache2/sites-available/sd-agent{{ apache_conf_ext|default('.conf') }}
owner=root
group=root
mode=0644
mode='644'
notify: "ServerDensity | Restart Apache"
- name: "ServerDensity | Apache | Enable the sd-agent site"
......
......@@ -13,5 +13,5 @@
dest=/etc/sd-agent/conf.d/mysql.yaml
owner=root
group=root
mode=0644
mode='644'
notify: "ServerDensity | Restart Agent"
......@@ -22,7 +22,7 @@
copy:
content='deb http://archive.serverdensity.com/ubuntu/ all main'
dest=/etc/apt/sources.list.d/sd-agent.list
mode=644
mode='644'
- name: "ServerDensity | Install The Agent"
apt:
......@@ -35,7 +35,7 @@
file:
dest={{ sd_agent_plugins_dir }}
state=directory
mode=755
mode='755'
- name: "ServerDensity | Copy Plugins"
copy:
......@@ -50,7 +50,7 @@
dest=/etc/sd-agent/{{ item }}
owner=root
group=root
mode=0644
mode='644'
with_items:
- 'config.cfg'
- 'plugins.cfg'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment