Clean up punctuation
Change-Id: Id8cb719c8b0117724c6829fab7ed17e839adc4be Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
96ac665eaa
commit
d9a53413cf
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Create required directories.
|
||||
- name: Create required directories
|
||||
become: true
|
||||
file:
|
||||
group: "{{ nodepool_user_group }}"
|
||||
@ -25,7 +25,7 @@
|
||||
- /opt/nodepool/tmp
|
||||
- /var/log/nodepool
|
||||
|
||||
- name: Install nodepool configuration.
|
||||
- name: Install nodepool configuration
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_nodepool_yaml_dest }}"
|
||||
@ -35,7 +35,7 @@
|
||||
src: "{{ nodepool_file_nodepool_yaml_src }}"
|
||||
register: nodepool_file_nodepool_yaml
|
||||
|
||||
- name: Install nodepool secure configuration.
|
||||
- name: Install nodepool secure configuration
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_secure_conf_dest }}"
|
||||
@ -45,7 +45,7 @@
|
||||
src: "{{ nodepool_file_secure_conf_src }}"
|
||||
register: nodepool_file_secure_conf
|
||||
|
||||
- name: Install builder logging configuration file.
|
||||
- name: Install builder logging configuration file
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_builder_logging_conf_dest }}"
|
||||
@ -56,7 +56,7 @@
|
||||
register: nodepool_file_builder_logging_conf
|
||||
when: nodepool_file_builder_logging_conf_manage
|
||||
|
||||
- name: Install launcher logging configuration file.
|
||||
- name: Install launcher logging configuration file
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_launcher_logging_conf_dest }}"
|
||||
|
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Define nodepool_build_depends.
|
||||
- name: Define nodepool_build_depends
|
||||
set_fact:
|
||||
nodepool_build_depends: "{{ __nodepool_build_depends | list }}"
|
||||
when: nodepool_build_depends is not defined
|
||||
@ -24,7 +24,7 @@
|
||||
state: installed
|
||||
when: nodepool_install_method == 'git'
|
||||
|
||||
- name: Define nodepool_pip_executable if needed.
|
||||
- name: Define nodepool_pip_executable if needed
|
||||
set_fact:
|
||||
nodepool_pip_executable: pip3
|
||||
when:
|
||||
|
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Git clone nodepool.
|
||||
- name: Git clone nodepool
|
||||
git:
|
||||
dest: "{{ nodepool_git_dest }}"
|
||||
refspec: "{{ nodepool_git_refspec|default(omit) }}"
|
||||
@ -20,7 +20,7 @@
|
||||
update: "{{ nodepool_git_update|default(omit) }}"
|
||||
version: "{{ nodepool_git_version|default(omit) }}"
|
||||
|
||||
- name: Set nodepool_pip_name to local git repo.
|
||||
- name: Set nodepool_pip_name to local git repo
|
||||
set_fact:
|
||||
nodepool_pip_name: "file://{{ nodepool_git_dest }}"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Install nodepool using pip.
|
||||
- name: Install nodepool using pip
|
||||
become: true
|
||||
pip:
|
||||
executable: "{{ nodepool_pip_executable|default(omit) }}"
|
||||
|
@ -12,11 +12,11 @@
|
||||
# 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_distribution|lower }}.yaml"
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Include OS-specific variables.
|
||||
- name: Include OS-specific variables
|
||||
include_vars: "{{ ansible_os_family|lower }}.yaml"
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
|
@ -12,67 +12,67 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Define nodepool_file_nodepool_builder_service_dest.
|
||||
- name: Define nodepool_file_nodepool_builder_service_dest
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_dest: "{{ __nodepool_file_nodepool_builder_service_dest }}"
|
||||
when: nodepool_file_nodepool_builder_service_dest is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_builder_service_mode.
|
||||
- name: Define nodepool_file_nodepool_builder_service_mode
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_mode: "{{ __nodepool_file_nodepool_builder_service_mode }}"
|
||||
when: nodepool_file_nodepool_builder_service_mode is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_builder_service_src.
|
||||
- name: Define nodepool_file_nodepool_builder_service_src
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_src: "{{ __nodepool_file_nodepool_builder_service_src }}"
|
||||
when: nodepool_file_nodepool_builder_service_src is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_dest.
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_dest
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_config_dest: "{{ __nodepool_file_nodepool_builder_service_config_dest }}"
|
||||
when: nodepool_file_nodepool_builder_service_config_dest is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_mode.
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_mode
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_config_mode: "{{ __nodepool_file_nodepool_builder_service_config_mode }}"
|
||||
when: nodepool_file_nodepool_builder_service_config_mode is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_src.
|
||||
- name: Define nodepool_file_nodepool_builder_service_config_src
|
||||
set_fact:
|
||||
nodepool_file_nodepool_builder_service_config_src: "{{ __nodepool_file_nodepool_builder_service_config_src }}"
|
||||
when: nodepool_file_nodepool_builder_service_config_src is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_dest.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_dest
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_dest: "{{ __nodepool_file_nodepool_launcher_service_dest }}"
|
||||
when: nodepool_file_nodepool_launcher_service_dest is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_mode.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_mode
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_mode: "{{ __nodepool_file_nodepool_launcher_service_mode }}"
|
||||
when: nodepool_file_nodepool_launcher_service_mode is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_src.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_src
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_src: "{{ __nodepool_file_nodepool_launcher_service_src }}"
|
||||
when: nodepool_file_nodepool_launcher_service_src is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_dest.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_dest
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_config_dest: "{{ __nodepool_file_nodepool_launcher_service_config_dest }}"
|
||||
when: nodepool_file_nodepool_launcher_service_config_dest is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_mode.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_mode
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_config_mode: "{{ __nodepool_file_nodepool_launcher_service_config_mode }}"
|
||||
when: nodepool_file_nodepool_launcher_service_config_mode is not defined
|
||||
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_src.
|
||||
- name: Define nodepool_file_nodepool_launcher_service_config_src
|
||||
set_fact:
|
||||
nodepool_file_nodepool_launcher_service_config_src: "{{ __nodepool_file_nodepool_launcher_service_config_src }}"
|
||||
when: nodepool_file_nodepool_launcher_service_config_src is not defined
|
||||
|
||||
- name: Install nodepool-builder service script into place.
|
||||
- name: Install nodepool-builder service script into place
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_nodepool_builder_service_dest }}"
|
||||
@ -83,7 +83,7 @@
|
||||
register: nodepool_file_nodepool_builder_service
|
||||
when: nodepool_file_nodepool_builder_service_manage
|
||||
|
||||
- name: Create nodepool-builder service config directory.
|
||||
- name: Create nodepool-builder service config directory
|
||||
become: true
|
||||
file:
|
||||
group: "{{ nodepool_file_nodepool_builder_service_config_group }}"
|
||||
@ -92,7 +92,7 @@
|
||||
state: directory
|
||||
when: nodepool_file_nodepool_builder_service_config_manage
|
||||
|
||||
- name: Install nodepool-builder service config into place.
|
||||
- name: Install nodepool-builder service config into place
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_nodepool_builder_service_config_dest }}"
|
||||
@ -103,7 +103,7 @@
|
||||
register: nodepool_file_nodepool_builder_service_config
|
||||
when: nodepool_file_nodepool_builder_service_config_manage
|
||||
|
||||
- name: Install nodepool-launcher service script into place.
|
||||
- name: Install nodepool-launcher service script into place
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_nodepool_launcher_service_dest }}"
|
||||
@ -114,7 +114,7 @@
|
||||
register: nodepool_file_nodepool_launcher_service
|
||||
when: nodepool_file_nodepool_launcher_service_manage
|
||||
|
||||
- name: Create nodepool-launcher service config directory.
|
||||
- name: Create nodepool-launcher service config directory
|
||||
become: true
|
||||
file:
|
||||
group: "{{ nodepool_file_nodepool_launcher_service_config_group }}"
|
||||
@ -123,7 +123,7 @@
|
||||
state: directory
|
||||
when: nodepool_file_nodepool_launcher_service_config_manage
|
||||
|
||||
- name: Install nodepool-launcher service config into place.
|
||||
- name: Install nodepool-launcher service config into place
|
||||
become: true
|
||||
template:
|
||||
dest: "{{ nodepool_file_nodepool_launcher_service_config_dest }}"
|
||||
@ -134,7 +134,7 @@
|
||||
register: nodepool_file_nodepool_launcher_service_config
|
||||
when: nodepool_file_nodepool_launcher_service_config_manage
|
||||
|
||||
- name: Enable nodepool-builder service.
|
||||
- name: Enable nodepool-builder service
|
||||
become: true
|
||||
systemd:
|
||||
daemon_reload: "{{ nodepool_service_nodepool_builder_daemon_reload }}"
|
||||
@ -144,7 +144,7 @@
|
||||
register: nodepool_service_nodepool_builder
|
||||
when: nodepool_service_nodepool_builder_manage
|
||||
|
||||
- name: Enable nodepool-launcher service.
|
||||
- name: Enable nodepool-launcher service
|
||||
become: true
|
||||
systemd:
|
||||
daemon_reload: "{{ nodepool_service_nodepool_launcher_daemon_reload }}"
|
||||
|
Loading…
Reference in New Issue
Block a user