Clean up punctuation
Change-Id: I11273a5fb23793048b004b8ece4813359bbca8a2 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
ff69c3e571
commit
ee977c5bee
@ -13,7 +13,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Create required directories.
|
- name: Create required directories
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
group: "{{ statsd_user_group }}"
|
group: "{{ statsd_user_group }}"
|
||||||
@ -24,7 +24,7 @@
|
|||||||
- /etc/statsd
|
- /etc/statsd
|
||||||
- /var/log/statsd
|
- /var/log/statsd
|
||||||
|
|
||||||
- name: Install statsd configuration.
|
- name: Install statsd configuration
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ statsd_file_config_js_dest }}"
|
dest: "{{ statsd_file_config_js_dest }}"
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Define statsd_build_depends.
|
- name: Define statsd_build_depends
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_build_depends: "{{ __statsd_build_depends | list }}"
|
statsd_build_depends: "{{ __statsd_build_depends | list }}"
|
||||||
when: statsd_build_depends is not defined
|
when: statsd_build_depends is not defined
|
||||||
|
|
||||||
- name: Ensure dependencies are installed.
|
- name: Ensure dependencies are installed
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
name: "{{ statsd_build_depends }}"
|
name: "{{ statsd_build_depends }}"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Git clone statsd.
|
- name: Git clone statsd
|
||||||
become: yes
|
become: yes
|
||||||
become_user: "{{ statsd_user_name }}"
|
become_user: "{{ statsd_user_name }}"
|
||||||
git:
|
git:
|
||||||
@ -21,7 +21,7 @@
|
|||||||
update: "{{ statsd_git_update|default(omit) }}"
|
update: "{{ statsd_git_update|default(omit) }}"
|
||||||
version: "{{ statsd_git_version }}"
|
version: "{{ statsd_git_version }}"
|
||||||
|
|
||||||
- name: Set statsd_npm_name to local git repo.
|
- name: Set statsd_npm_name to local git repo
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_npm_name: "{{ statsd_git_dest }}"
|
statsd_npm_name: "{{ statsd_git_dest }}"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Install statsd using npm.
|
- name: Install statsd using npm
|
||||||
become: yes
|
become: yes
|
||||||
npm:
|
npm:
|
||||||
name: "{{ statsd_npm_name }}"
|
name: "{{ statsd_npm_name }}"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Include OS-specific variables.
|
- name: Include OS-specific variables
|
||||||
include_vars: "{{ ansible_os_family }}.yaml"
|
include_vars: "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- include: "{{ statsd_task }}.yaml"
|
- include: "{{ statsd_task }}.yaml"
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Create group account.
|
- name: Create group account
|
||||||
become: yes
|
become: yes
|
||||||
group:
|
group:
|
||||||
name: "{{ statsd_user_group }}"
|
name: "{{ statsd_user_group }}"
|
||||||
|
|
||||||
- name: Create user account.
|
- name: Create user account
|
||||||
become: yes
|
become: yes
|
||||||
user:
|
user:
|
||||||
createhome: yes
|
createhome: yes
|
||||||
|
@ -12,37 +12,37 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Define statsd_file_statsd_service_dest.
|
- name: Define statsd_file_statsd_service_dest
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_dest: "{{ __statsd_file_statsd_service_dest }}"
|
statsd_file_statsd_service_dest: "{{ __statsd_file_statsd_service_dest }}"
|
||||||
when: statsd_file_statsd_service_dest is not defined
|
when: statsd_file_statsd_service_dest is not defined
|
||||||
|
|
||||||
- name: Define statsd_file_statsd_service_mode.
|
- name: Define statsd_file_statsd_service_mode
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_mode: "{{ __statsd_file_statsd_service_mode }}"
|
statsd_file_statsd_service_mode: "{{ __statsd_file_statsd_service_mode }}"
|
||||||
when: statsd_file_statsd_service_mode is not defined
|
when: statsd_file_statsd_service_mode is not defined
|
||||||
|
|
||||||
- name: Define statsd_file_statsd_service_src.
|
- name: Define statsd_file_statsd_service_src
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_src: "{{ __statsd_file_statsd_service_src }}"
|
statsd_file_statsd_service_src: "{{ __statsd_file_statsd_service_src }}"
|
||||||
when: statsd_file_statsd_service_src is not defined
|
when: statsd_file_statsd_service_src is not defined
|
||||||
|
|
||||||
- name: Define statsd_file_statsd_service_config_dest.
|
- name: Define statsd_file_statsd_service_config_dest
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_config_dest: "{{ __statsd_file_statsd_service_config_dest }}"
|
statsd_file_statsd_service_config_dest: "{{ __statsd_file_statsd_service_config_dest }}"
|
||||||
when: statsd_file_statsd_service_config_dest is not defined
|
when: statsd_file_statsd_service_config_dest is not defined
|
||||||
|
|
||||||
- name: Define statsd_file_statsd_service_config_mode.
|
- name: Define statsd_file_statsd_service_config_mode
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_config_mode: "{{ __statsd_file_statsd_service_config_mode }}"
|
statsd_file_statsd_service_config_mode: "{{ __statsd_file_statsd_service_config_mode }}"
|
||||||
when: statsd_file_statsd_service_config_mode is not defined
|
when: statsd_file_statsd_service_config_mode is not defined
|
||||||
|
|
||||||
- name: Define statsd_file_statsd_service_config_src.
|
- name: Define statsd_file_statsd_service_config_src
|
||||||
set_fact:
|
set_fact:
|
||||||
statsd_file_statsd_service_config_src: "{{ __statsd_file_statsd_service_config_src }}"
|
statsd_file_statsd_service_config_src: "{{ __statsd_file_statsd_service_config_src }}"
|
||||||
when: statsd_file_statsd_service_config_src is not defined
|
when: statsd_file_statsd_service_config_src is not defined
|
||||||
|
|
||||||
- name: Install statsd service script into place.
|
- name: Install statsd service script into place
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ statsd_file_statsd_service_dest }}"
|
dest: "{{ statsd_file_statsd_service_dest }}"
|
||||||
@ -53,7 +53,7 @@
|
|||||||
register: statsd_file_statsd_service
|
register: statsd_file_statsd_service
|
||||||
when: statsd_file_statsd_service_manage
|
when: statsd_file_statsd_service_manage
|
||||||
|
|
||||||
- name: Create statsd service config directory.
|
- name: Create statsd service config directory
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
group: "{{ statsd_file_statsd_service_config_group }}"
|
group: "{{ statsd_file_statsd_service_config_group }}"
|
||||||
@ -62,7 +62,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
when: statsd_file_statsd_service_config_manage
|
when: statsd_file_statsd_service_config_manage
|
||||||
|
|
||||||
- name: Install statsd service config into place.
|
- name: Install statsd service config into place
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ statsd_file_statsd_service_config_dest }}"
|
dest: "{{ statsd_file_statsd_service_config_dest }}"
|
||||||
@ -73,7 +73,7 @@
|
|||||||
register: statsd_file_statsd_service_config
|
register: statsd_file_statsd_service_config
|
||||||
when: statsd_file_statsd_service_config_manage
|
when: statsd_file_statsd_service_config_manage
|
||||||
|
|
||||||
- name: Enable statsd service.
|
- name: Enable statsd service
|
||||||
become: yes
|
become: yes
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: "{{ statsd_service_statsd_daemon_reload }}"
|
daemon_reload: "{{ statsd_service_statsd_daemon_reload }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user