rename backup-server-state to dump-server-state #150

Closed
gcolpart wants to merge 518 commits from unstable into rename-backup-server-state
8 changed files with 2 additions and 26 deletions
Showing only changes of commit 1c6fdbf85a - Show all commits

View file

@ -13,6 +13,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Added
### Changed
* Removed all "warn: False" args in command, shell and other modules as it's been depreciated and will give a hard fail in ansible-core 2.14.0.
### Fixed

View file

@ -9,7 +9,6 @@
args:
chdir: "{{ repository_path }}"
creates: "{{ repository_path }}/.git/"
warn: no
register: git_init
tags:
- etc-git
@ -54,7 +53,6 @@
command: "git log"
args:
chdir: "{{ repository_path }}"
warn: no
changed_when: False
failed_when: False
register: git_log
@ -66,7 +64,6 @@
shell: "git add -A . && git commit -m \"Initial commit via Ansible\""
args:
chdir: "{{ repository_path }}"
warn: no
register: git_commit
when: git_log.rc != 0 or (git_init is defined and git_init is changed)
tags:

View file

@ -23,13 +23,9 @@
- name: remount /home
command: mount -o remount /home
args:
warn: no
- name: remount /var
command: mount -o remount /var
args:
warn: no
- name: restart nginx

View file

@ -126,8 +126,6 @@
# - name: Get mount options for /usr partition
# shell: "mount | grep 'on /usr type'"
# args:
# warn: no
# register: mount
# changed_when: False
# failed_when: False

View file

@ -18,15 +18,11 @@
shell: "chown --verbose www-data:munin /var/log/munin/munin-cgi-*"
register: command_result
changed_when: "'changed' in command_result.stdout"
args:
warn: no
- name: Mode for munin-cgi is set to 660
shell: "chmod --verbose 660 /var/log/munin/munin-cgi-*"
register: command_result
changed_when: "'changed' in command_result.stdout"
args:
warn: no
- name: Systemd unit for Munin-fcgi is installed
copy:

View file

@ -88,8 +88,6 @@
- name: "is Ruby {{ rbenv_ruby_version }} available for {{ username }} ?"
shell: /bin/bash -lc "rbenv versions | grep {{ rbenv_ruby_version }}"
args:
warn: no
failed_when: False
changed_when: False
check_mode: False
@ -101,8 +99,6 @@
- name: "Ruby {{ rbenv_ruby_version }} is available for {{ username }} (be patient... could be long)"
shell: /bin/bash -lc "TMPDIR=~/tmp rbenv install {{ rbenv_ruby_version }}"
args:
warn: no
when: ruby_installed.rc != 0
become_user: "{{ username }}"
become: yes
@ -111,8 +107,6 @@
- name: "is Ruby {{ rbenv_ruby_version }} selected for {{ username }} ?"
shell: /bin/bash -lc "rbenv version | cut -d ' ' -f 1 | grep -Fx '{{ rbenv_ruby_version }}'"
args:
warn: no
register: ruby_selected
changed_when: False
failed_when: False
@ -124,8 +118,6 @@
- name: "select Ruby {{ rbenv_ruby_version }} for {{ username }}"
shell: /bin/bash -lc "rbenv global {{ rbenv_ruby_version }} && rbenv rehash"
args:
warn: no
when: ruby_selected.rc != 0
become_user: "{{ username }}"
become: yes

View file

@ -1,6 +1,4 @@
---
- name: remount usr
command: "mount -o remount /usr"
failed_when: false
args:
warn: no
failed_when: false

View file

@ -100,8 +100,6 @@
register: command_result
changed_when: "'changed' in command_result.stdout"
# failed_when: False
args:
warn: False
- name: Add evoadmin sudoers file
template: