Skip to content

Update inventory.yml #275

Merged
merged 3 commits into from
Mar 11, 2026
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ all:
ditd-geocoder-nonprod-gov:
hosts:
ditd-geocoder-nonprod-gov.cloud ansible_host=localhost
ditd-geocoder-prod-ew:
ditd-geocoder-prod-ew:
hosts:
ditd-geocoder-prod-ew.cloud ansible_host=localhost
ditd-geocoder-prod-gov:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
ansible-playbook -i inventory site.yml -v --limit ditd-geocoder-dmz-nonprod-gov --tags first-time,submodule |& tee -a setup.ditd-geocoder-dmz-nonprod-gov.iebcloud.1773240684.log
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with auto plugin: We were unable to read
either as JSON nor YAML, these are the errors we got from each: JSON: Expecting
value: line 1 column 1 (char 0) Syntax Error while loading YAML. found a tab
character that violates indentation The error appears to be in
'/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml': line 985, column 53, but may be
elsewhere in the file depending on the exact syntax problem. The offending
line appears to be: ditd-geocoder-nonprod-gov.cloud
ansible_host=localhost ^
here There appears to be both 'k=v' shorthand syntax and YAML in this task.
Only one syntax may be used. There appears to be a tab character at the start
of the line. YAML does not use tabs for formatting. Tabs should be replaced
with spaces. For example: - name: update tooling vars:
version: 1.2.3 # ^--- there is a tab there. Should be written as: -
name: update tooling vars: version: 1.2.3 # ^--- all spaces here.
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with yaml plugin: We were unable to read
either as JSON nor YAML, these are the errors we got from each: JSON: Expecting
value: line 1 column 1 (char 0) Syntax Error while loading YAML. found a tab
character that violates indentation The error appears to be in
'/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml': line 985, column 53, but may be
elsewhere in the file depending on the exact syntax problem. The offending
line appears to be: ditd-geocoder-nonprod-gov.cloud
ansible_host=localhost ^
here There appears to be both 'k=v' shorthand syntax and YAML in this task.
Only one syntax may be used. There appears to be a tab character at the start
of the line. YAML does not use tabs for formatting. Tabs should be replaced
with spaces. For example: - name: update tooling vars:
version: 1.2.3 # ^--- there is a tab there. Should be written as: -
name: update tooling vars: version: 1.2.3 # ^--- all spaces here.
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with ini plugin: Invalid host pattern
'all:' supplied, ending in ':' is not allowed, this character is reserved to
provide a port.
[WARNING]: Unable to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml as an inventory source
[WARNING]: Unable to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: ditd-geocoder-dmz-
nonprod-gov
Using /data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-setup/ansible/ansible.cfg as config file

PLAY [Setup AWS Accounts] ******************************************************
skipping: no hosts matched

PLAY [Deploy base configuration for account] ***********************************
skipping: no hosts matched

PLAY RECAP *********************************************************************

Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
ansible-playbook -i inventory site.yml -v --limit ditd-geocoder-prod-ew --tags first-time,submodule |& tee -a setup.ditd-geocoder-prod-ew.iebcloud.1773240712.log
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with auto plugin: We were unable to read
either as JSON nor YAML, these are the errors we got from each: JSON: Expecting
value: line 1 column 1 (char 0) Syntax Error while loading YAML. found a tab
character that violates indentation The error appears to be in
'/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml': line 985, column 53, but may be
elsewhere in the file depending on the exact syntax problem. The offending
line appears to be: ditd-geocoder-nonprod-gov.cloud
ansible_host=localhost ^
here There appears to be both 'k=v' shorthand syntax and YAML in this task.
Only one syntax may be used. There appears to be a tab character at the start
of the line. YAML does not use tabs for formatting. Tabs should be replaced
with spaces. For example: - name: update tooling vars:
version: 1.2.3 # ^--- there is a tab there. Should be written as: -
name: update tooling vars: version: 1.2.3 # ^--- all spaces here.
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with yaml plugin: We were unable to read
either as JSON nor YAML, these are the errors we got from each: JSON: Expecting
value: line 1 column 1 (char 0) Syntax Error while loading YAML. found a tab
character that violates indentation The error appears to be in
'/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml': line 985, column 53, but may be
elsewhere in the file depending on the exact syntax problem. The offending
line appears to be: ditd-geocoder-nonprod-gov.cloud
ansible_host=localhost ^
here There appears to be both 'k=v' shorthand syntax and YAML in this task.
Only one syntax may be used. There appears to be a tab character at the start
of the line. YAML does not use tabs for formatting. Tabs should be replaced
with spaces. For example: - name: update tooling vars:
version: 1.2.3 # ^--- there is a tab there. Should be written as: -
name: update tooling vars: version: 1.2.3 # ^--- all spaces here.
[WARNING]: * Failed to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml with ini plugin: Invalid host pattern
'all:' supplied, ending in ':' is not allowed, this character is reserved to
provide a port.
[WARNING]: Unable to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory/inventory.yml as an inventory source
[WARNING]: Unable to parse
/data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-
setup/ansible/inventory as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: ditd-geocoder-prod-
ew
Using /data/terraform/workspaces/dwara001/terraform/support/local-app/aws-account-setup/ansible/ansible.cfg as config file

PLAY [Setup AWS Accounts] ******************************************************
skipping: no hosts matched

PLAY [Deploy base configuration for account] ***********************************
skipping: no hosts matched

PLAY RECAP *********************************************************************