Reputation: 941
I am new to ansible and vagrant, I am getting this error message when I try to run vagrant provision
fatal: [default]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute u'xxxxxxxx.dev'"}
I think it is an error in this below file and i have tried to change format but it is not working
wordpress_sites:
xxxxx.com.in:
site_hosts:
- xxxxx.dev
local_path: ../site
site_install: true
site_title: Xxxxx
admin_user: admin
# admin_password: (defined in group_vars/development/vault.yml)
admin_email: [email protected]
initial_permalink_structure: /%postname%/ # applied only at time of WP install and when `site_install: true`
multisite:
enabled: false
subdomains: false
ssl:
enabled: false
cache:
enabled: false
duration: 30s
env:
disable_wp_cron: true
wp_home: http://xxxxxx.dev
wp_siteurl: http://xxxxxx.dev/wp
wp_env: development
db_name: xxxxxx
db_user: xxxxxx
# db_password: (defined in group_vars/development/vault.yml)
What am I missing?
Upvotes: 0
Views: 2017
Reputation: 941
This link help me
I have changed 'example.com'
to 'xxxxx.com.in'
in - 'group_vars/development/vault.yml'
Now it working
Upvotes: 1