Delete cruft from roles reorg
This commit is contained in:
parent
2c82bfee21
commit
2258c5f1a4
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
# Check checked-out branch
|
|
||||||
- command: git rev-parse --abbrev-ref HEAD
|
|
||||||
args:
|
|
||||||
chdir: /opt/system-config/production
|
|
||||||
register: checked_out_branch
|
|
||||||
ignore_errors: True
|
|
||||||
|
|
||||||
# Check whether "infra_config" branch exists or not
|
|
||||||
- command: git show-ref "infra_config"
|
|
||||||
args:
|
|
||||||
chdir: /opt/system-config/production
|
|
||||||
register: infra_config_branch
|
|
||||||
ignore_errors: True
|
|
||||||
|
|
||||||
# If "infra_config" branch exists, switch to it
|
|
||||||
- command: git checkout infra_config
|
|
||||||
args:
|
|
||||||
chdir: /opt/system-config/production
|
|
||||||
when: checked_out_branch.stdout != "infra_config" and infra_config_branch.rc == 0
|
|
||||||
|
|
||||||
# Create and switch to "infra_config" branch to put non-upstream fixes and values
|
|
||||||
- command: git checkout -b infra_config
|
|
||||||
args:
|
|
||||||
chdir: /opt/system-config/production
|
|
||||||
when: infra_config_branch.rc != 0
|
|
@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
system_config_repo_url: https://git.openstack.org/openstack-infra/system-config
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
# Clone system-config
|
|
||||||
- git: repo="{{ system_config_repo_url }}"
|
|
||||||
dest=/opt/system-config/production
|
|
||||||
version=master
|
|
||||||
tags: clone_system_config
|
|
Loading…
x
Reference in New Issue
Block a user