File tree 2 files changed +7
-0
lines changed
images/capi/ansible/roles
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 26
26
ansible.builtin.command : tdnf update -y photon-repos --enablerepo=photon --refresh
27
27
register : distro
28
28
changed_when : ' "Nothing to do" not in distro.stderr'
29
+ when : not disable_public_repos|default(false)|bool
29
30
30
31
- name : Perform a tdnf distro-sync
31
32
ansible.builtin.command : tdnf distro-sync -y --refresh
Original file line number Diff line number Diff line change 43
43
44
44
- ansible.builtin.import_tasks : rpm_repos.yml
45
45
46
+ - name : Update the repos package to import the recent gpg keys
47
+ ansible.builtin.command : tdnf update -y photon-repos --enablerepo=photon --refresh
48
+ register : distro
49
+ changed_when : ' "Nothing to do" not in distro.stderr'
50
+ when : disable_public_repos|default(false)|bool and reenable_public_repos|default(true)|bool
51
+
46
52
- name : Remove tdnf package caches
47
53
ansible.builtin.command : /usr/bin/tdnf -y clean all
48
54
You can’t perform that action at this time.
0 commit comments