Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Jan 18, 2023
1 parent 3c846bd commit 78f1a23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ None
mariadb_client_my_cnf_files:
- dest: '~root/.my.cnf'
owner: root
group: root
ansible.builtin.group: root
mode: '0600'
login_host: localhost
login_port: 3306
Expand Down
4 changes: 2 additions & 2 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tasks file
---
- name: configure | copy certificate files
copy:
ansible.builtin.copy:
src: "{{ item.value.src }}"
dest: "{{ item.value.dest }}"
owner: "{{ item.value.owner | default('root') }}"
Expand All @@ -12,7 +12,7 @@
- mariadb-client-configure-copy-certificate-files

- name: configure | update (user) configuration file(s)
template:
ansible.builtin.template:
src: root/.my.cnf.j2
dest: "{{ item.dest | default('~' + item.owner + '/.my.cnf') }}"
owner: "{{ item.owner }}"
Expand Down
8 changes: 4 additions & 4 deletions tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# tasks file
---
- name: install | dependencies
apt:
- name: install | dependencies # noqa args[module]
ansible.builtin.apt:
name: "{{ mariadb_client_dependencies }}"
state: "{{ apt_install_state | default('latest') }}"
update_cache: true
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
tags:
- mariadb-client-install-dependencies

- name: install | additional
apt:
- name: install | additional # noqa args[module]
ansible.builtin.apt:
name: "{{ mariadb_client_install }}"
state: "{{ apt_install_state | default('latest') }}"
tags:
Expand Down

0 comments on commit 78f1a23

Please sign in to comment.