Skip to content

Commit

Permalink
Fix ansible-linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tayzlor committed May 8, 2015
1 parent cdd3edf commit 0fa390c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions roles/consul/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# tasks file for consul
- name: remove consul override
command: /bin/rm -f /etc/init/consul.override
file: path=/etc/init/consul.override state=absent

- name: start consul
service: name=consul state=started
Expand All @@ -24,7 +24,7 @@
- consul

- name: remove consul-join override
command: /bin/rm -f /etc/init/consul-join.override
file: path=/etc/init/consul-join.override state=absent
when: consul_join is defined

- name: configure consul-join
Expand Down
2 changes: 1 addition & 1 deletion roles/dnsmasq/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# tasks file for dnsmasq
- name: remove dnsmasq override
command: /bin/rm -f /etc/init/dnsmasq.override
file: path=/etc/init/dnsmasq.override state=absent

- name: ensure dnsmasq is running (and enable it at boot)
service: name=dnsmasq state=started enabled=yes
Expand Down
2 changes: 1 addition & 1 deletion roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# tasks file for docker
- name: remove docker override
command: /bin/rm -f /etc/init/docker.override
file: path=/etc/init/docker.override state=absent

- name: ensure docker is running (and enable it at boot)
service: name=docker state=started enabled=yes
2 changes: 1 addition & 1 deletion roles/marathon/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
sudo: yes

- name: remove marathon override
command: /bin/rm -f /etc/init/marathon.override
file: path=/etc/init/marathon.override state=absent

- name: ensure marathon is running (and enable it at boot)
service: name=marathon state=started enabled=yes
Expand Down
4 changes: 2 additions & 2 deletions roles/mesos/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
when: mesos_install_mode == "master"

- name: remove mesos-master override
command: /bin/rm -f /etc/init/mesos-master.override
file: path=/etc/init/mesos-master.override state=absent
when: mesos_install_mode == "master"

- name: Set Mesos Master Cluster name
Expand Down Expand Up @@ -62,7 +62,7 @@
when: mesos_install_mode == "slave"

- name: remove mesos-slave override
command: /bin/rm -f /etc/init/mesos-slave.override
file: path=/etc/init/mesos-slave.override state=absent
when: mesos_install_mode == "slave"

- name: set executor registration timeout
Expand Down
1 change: 1 addition & 0 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ build:
name: validate packer template for Google
code: ./packer validate ubuntu-14.04_amd64-google.json
- capgemini/ansible-lint:
name: run ansible-lint against the site.yml playbook
playbook: site.yml

0 comments on commit 0fa390c

Please sign in to comment.