Skip to content

Commit

Permalink
Merge pull request #39 from bedroge/fix_lint_ci
Browse files Browse the repository at this point in the history
Fix ansible-lint CI
  • Loading branch information
peterstol authored Sep 23, 2020
2 parents 81d1904 + cfa462e commit d7179ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
# targets: |
# playbook_1.yml
# playbook_2.yml
targets: "*.yml group_vars/*.yml "
targets: "*.yml inventory/group_vars/*.yml"
# [optional]
# Arguments to override a package and its version to be set explicitly.
# Must follow the example syntax.
override-deps: |
ansible==2.9
ansible-lint==4.2.0
#override-deps: |
# ansible==2.9
# ansible-lint==4.2.0
# [optional]
# Arguments to be passed to the ansible-lint

Expand Down
9 changes: 8 additions & 1 deletion stratum0-deploy-cvmfs-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

- name: create directories
file:
mode: "755"
path: "{{ item }}"
state: directory
with_list:
Expand All @@ -20,13 +21,17 @@
- "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/domain.d"

- name: deploy public keys
copy: content="{{ item.key }}" dest="/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}{{ item.path }}"
copy:
content: "{{ item.key }}"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}{{ item.path }}"
mode: "755"
with_items: "{{ eessi_cvmfs_keys }}"

- name: create contacts file
copy:
content: "{{ eessi_email }}\n"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/contact/{{ eessi_cvmfs_config_repo.domain }}"
mode: "755"

- name: create domain configuration file
copy:
Expand All @@ -35,13 +40,15 @@
CVMFS_KEYS_DIR="/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/keys/{{ eessi_cvmfs_config_repo.domain }}"
CVMFS_USE_GEOAPI="{{ eessi_cvmfs_server_urls[0].use_geoapi | default(false) | ternary('yes', 'no') }}"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/domain.d/{{ eessi_cvmfs_config_repo.domain }}.conf"
mode: "755"

- name: create default CVMFS configuration file
copy:
content: |
# For reference see https://sft.its.cern.ch/jira/browse/CVM-878
CVMFS_LOW_SPEED_LIMIT=10000
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/default.conf"
mode: "755"

- name: publish CVMFS transaction
command: cvmfs_server publish "{{ eessi_cvmfs_config_repo.repository.repository }}"
Expand Down

0 comments on commit d7179ed

Please sign in to comment.