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