diff --git a/tasks/manage_credentials.yml b/tasks/manage_credentials.yml index 2cfdcea..31875c1 100644 --- a/tasks/manage_credentials.yml +++ b/tasks/manage_credentials.yml @@ -24,6 +24,7 @@ private_key_passphrase: "{{ item.private_key_passphrase }}" description: "{{ item.description }}" state: "{{ item.state }}" + no_log: True register: 'jenkins_change_ssh_credentials' with_items: "{{ jenkins_credentials }}" when: "{{ item.private_key_source_type is defined }}" @@ -41,6 +42,7 @@ description: "{{ item.description }}" password: "{{ item.password }}" state: "{{ item.state }}" + no_log: True register: 'jenkins_change_password_credentials' with_items: "{{ jenkins_credentials }}" when: "{{ item.password is defined }}" @@ -57,6 +59,7 @@ text: "{{ item.text }}" description: "{{ item.description }}" state: "{{ item.state }}" + no_log: True register: 'jenkins_change_text_credentials' with_items: "{{ jenkins_credentials }}" when: "{{ item.text is defined }}" diff --git a/tasks/manage_main_config.yml b/tasks/manage_main_config.yml index 208ebac..4f894dc 100644 --- a/tasks/manage_main_config.yml +++ b/tasks/manage_main_config.yml @@ -12,6 +12,7 @@ authorization_strategy: "{{ jenkins_authorization_strategy }}" crumb_issuer: "{{ jenkins_crumb_issuer }}" use_private_key: False + no_log: True register: 'jenkins_change_deployment_user_without_ssh_key' ignore_errors: True with_items: @@ -34,6 +35,7 @@ security_realm: "{{ jenkins_security_realm }}" authorization_strategy: "{{ jenkins_authorization_strategy }}" crumb_issuer: "{{ jenkins_crumb_issuer }}" + no_log: True register: 'jenkins_change_deployment_user' with_items: - username: "{{ jenkins_deployment_user.username }}" @@ -57,6 +59,7 @@ security_realm: "{{ jenkins_security_realm }}" authorization_strategy: "{{ jenkins_authorization_strategy }}" crumb_issuer: "{{ jenkins_crumb_issuer }}" + no_log: True register: 'jenkins_change_users_or_security' with_items: "{{ jenkins_users }}" when: "{{ jenkins_manage_users_and_security }}" diff --git a/tasks/manage_plugins_config.yml b/tasks/manage_plugins_config.yml index 2c803eb..2336105 100644 --- a/tasks/manage_plugins_config.yml +++ b/tasks/manage_plugins_config.yml @@ -25,6 +25,7 @@ smtp_port: "{{ jenkins_plugin_mailer_smtp_port }}" smtp_user: "{{ jenkins_plugin_mailer_smtp_user }}" use_ssl: "{{ jenkins_plugin_mailer_use_ssl }}" + no_log: True register: 'jenkins_change_plugin_mailer' when: "{{ 'mailer' in (jenkins_plugins | map(attribute='name')) }}" @@ -62,6 +63,7 @@ public_key: "{{ jenkins_plugins_debian_package_builder_gpg.public_key }}" private_key: "{{ jenkins_plugins_debian_package_builder_gpg.private_key }}" passphrase: "{{ jenkins_plugins_debian_package_builder_gpg.passphrase }}" + no_log: True register: 'jenkins_change_plugin_debian_package_builder_gpg' when: "{{ 'debian-package-builder' in (jenkins_plugins | map(attribute='name')) }}" @@ -91,6 +93,7 @@ key_path: "{{ item.key_path }}" options: "{{ item.options }}" state: "{{ item.state }}" + no_log: True register: 'jenkins_change_plugin_debian_package_builder_repo' with_items: "{{ jenkins_plugins_debian_package_builder_repo }}" when: "{{ 'debian-package-builder' in @@ -104,6 +107,7 @@ api_token: "{{ jenkins_plugins_gitlab_api_token }}" host_url: "{{ jenkins_plugins_gitlab_host_url }}" ignore_cert_error: "{{ jenkins_plugins_gitlab_ignore_cert_error }}" + no_log: True register: 'jenkins_change_plugin_gitlab' when: "{{ 'gitlab-plugin' in (jenkins_plugins | map(attribute='name')) }}" @@ -117,6 +121,7 @@ v2_enabled: "{{ jenkins_plugins_hipchat_v2_enabled }}" room: "{{ jenkins_plugins_hipchat_room }}" send_as: "{{ jenkins_plugins_hipchat_send_as }}" + no_log: True register: 'jenkins_change_plugin_hipchat' when: "{{ 'hipchat' in (jenkins_plugins | map(attribute='name')) }}"