Update test files for sat6 updates

This commit is contained in:
AlanCoding
2020-05-06 09:32:10 -04:00
parent 84c854bdf3
commit e24c511aef
3 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
base_source_var: value_of_var
compose: compose:
ansible_ssh_host: foreman['ip6'] | default(foreman['ip'], true) ansible_ssh_host: foreman['ip6'] | default(foreman['ip'], true)
group_prefix: foo_group_prefix
keyed_groups: keyed_groups:
- key: foreman['environment_name'] | lower | regex_replace(' ', '') | regex_replace('[^A-Za-z0-9\_]', '_') | regex_replace('none', '') - key: foreman['environment_name'] | lower | regex_replace(' ', '') | regex_replace('[^A-Za-z0-9\_]', '_') | regex_replace('none', '')
prefix: foreman_environment_ prefix: foreman_environment_
@@ -16,7 +18,12 @@ keyed_groups:
- key: foreman['content_facet_attributes']['content_view_name'] | lower | regex_replace(' ', '') | regex_replace('[^A-Za-z0-9\_]', '_') - key: foreman['content_facet_attributes']['content_view_name'] | lower | regex_replace(' ', '') | regex_replace('[^A-Za-z0-9\_]', '_')
prefix: foreman_content_view_ prefix: foreman_content_view_
separator: '' separator: ''
- key: '"%s-%s-%s" | format(app, tier, color)'
separator: ''
- key: '"%s-%s" | format(app, color)'
separator: ''
legacy_hostvars: true legacy_hostvars: true
plugin: theforeman.foreman.foreman plugin: theforeman.foreman.foreman
want_facts: true want_facts: true
want_hostcollections: true
want_params: true want_params: true

View File

@@ -6,12 +6,12 @@ user = fooo
password = fooo password = fooo
[ansible] [ansible]
group_patterns = foo_group_patterns group_patterns = ["{app}-{tier}-{color}", "{app}-{color}"]
want_facts = True want_facts = True
want_hostcollections = True want_hostcollections = True
group_prefix = foo_group_prefix group_prefix = foo_group_prefix
want_ansible_ssh_host = True want_ansible_ssh_host = True
rich_params = True rich_params = False
[cache] [cache]
path = /tmp path = /tmp

View File

@@ -64,11 +64,10 @@ INI_TEST_VARS = {
'tags': 'Creator:jmarshall, peanutbutter:jelly' 'tags': 'Creator:jmarshall, peanutbutter:jelly'
}, },
'satellite6': { 'satellite6': {
'satellite6_group_patterns': 'foo_group_patterns', 'satellite6_group_patterns': '["{app}-{tier}-{color}", "{app}-{color}"]',
'satellite6_group_prefix': 'foo_group_prefix', 'satellite6_group_prefix': 'foo_group_prefix',
'satellite6_want_hostcollections': True, 'satellite6_want_hostcollections': True,
'satellite6_want_ansible_ssh_host': True, 'satellite6_want_ansible_ssh_host': True,
'satellite6_rich_params': True,
'satellite6_want_facts': True 'satellite6_want_facts': True
}, },