{ "uuid": [ { "value": "cfc03f7b-a904-4ad5-a02a-f9aa0f3d1f73" } ], "langcode": [ { "value": "en" } ], "type": [ { "target_id": "daily_email", "target_type": "node_type", "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" } ], "revision_timestamp": [ { "value": "2025-04-21T01:22:02+00:00" } ], "revision_uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "revision_log": [], "status": [ { "value": true } ], "uid": [ { "target_type": "user", "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" } ], "title": [ { "value": "Using Ansible for local environment configuration" } ], "created": [ { "value": "2022-09-05T00:00:00+00:00" } ], "changed": [ { "value": "2025-04-21T01:22:02+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2022\/09\/05\/using-ansible-for-local-configuration", "langcode": "en" } ], "body": [ { "value": "\n
As well as configuring servers<\/a>, you can use Ansible to configure your own local machine and development environment.<\/p>\n\n The change that you need to make is within the Instead of the server's IP address or hostname, use the localhost IP address and set Another way to do this is to set Once this is done, you can run tasks, roles, and collections to automate tasks such as installing software, adding your SSH keys, configuring your project directories, and anything else that you need to do.<\/p>\n\n For an example of this, you can see my dotfiles repository on GitHub<\/a>.<\/p>\n\n Want to learn more about how I use Ansible? Register for my upcoming free email course<\/a>.<\/p>\n\n ",
"format": "full_html",
"processed": "\n As well as configuring servers<\/a>, you can use Ansible to configure your own local machine and development environment.<\/p>\n\n The change that you need to make is within the Instead of the server's IP address or hostname, use the localhost IP address and set Another way to do this is to set Once this is done, you can run tasks, roles, and collections to automate tasks such as installing software, adding your SSH keys, configuring your project directories, and anything else that you need to do.<\/p>\n\n For an example of this, you can see my dotfiles repository on GitHub<\/a>.<\/p>\n\n Want to learn more about how I use Ansible? Register for my upcoming free email course<\/a>.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-04-21T01:22:02+00:00",
"guid": null,
"hash": "471a590b0815f9d675396ac79f411d89",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}hosts.ini<\/code> file:<\/p>\n\n
127.0.0.1 ansible_connection=local\n<\/code><\/pre>\n\n
ansible_connection<\/code> to
local<\/code> to tell Ansible to run locally instead of using an SSH connection.<\/p>\n\n
hosts: 127.0.0.1<\/code> and
connection: true<\/code> in your playbook.<\/p>\n\n
\n\nhosts.ini<\/code> file:<\/p>\n\n
127.0.0.1 ansible_connection=local\n<\/code><\/pre>\n\n
ansible_connection<\/code> to
local<\/code> to tell Ansible to run locally instead of using an SSH connection.<\/p>\n\n
hosts: 127.0.0.1<\/code> and
connection: true<\/code> in your playbook.<\/p>\n\n
\n\n