File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11---
2+ # gpg is required for apt_key and may be missing in some minimal installations
3+ - name : apt | Install gpg
4+ become : yes
5+ apt :
6+ name : gpg
7+ state : present
8+ update_cache : yes
9+ cache_valid_time : 3600
10+ register : _task
11+ retries : 5
12+ delay : 3
13+ until : _task is succeeded
14+
215- name : apt | Add mongodb key
316 become : yes
417 apt_key :
Original file line number Diff line number Diff line change 99# Injecting 'st2_services' var in the middle of play verified to work with 'restart st2' handler as handlers flushed as last step
1010- name : Redefine list of services based on st2 version
1111 set_fact :
12- st2_services : " {{ st2_services }} + {{ item.1 }}"
12+ st2_services : " {{ st2_services + item.1 }}"
1313 # dict2items not available until 2.6, so use Jinja's dictsort instead
1414 loop : " {{ st2_services_versioned | dictsort }}"
1515 when : item.0 is version_compare(st2_version_installed, '<=')
You can’t perform that action at this time.
0 commit comments