Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nleiva/ansible-cloud
Deploy virtual machines in AWS
https://github.com/nleiva/ansible-cloud
ansible aws cisco-ios fedora juniper-junos
Last synced: 11 days ago
JSON representation
Deploy virtual machines in AWS
- Host: GitHub
- URL: https://github.com/nleiva/ansible-cloud
- Owner: nleiva
- Created: 2020-05-21T00:18:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-25T16:38:21.000Z (about 2 years ago)
- Last Synced: 2023-02-26T20:42:26.095Z (over 1 year ago)
- Topics: ansible, aws, cisco-ios, fedora, juniper-junos
- Language: Jinja
- Homepage:
- Size: 99.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Cloud examples
[![Ansible Lint](https://github.com/nleiva/ansible-cloud/actions/workflows/ansible-lint.yml/badge.svg)](https://github.com/nleiva/ansible-cloud/actions/workflows/ansible-lint.yml)
Proper documentation is in the works.
## Dependencies:
### Python libraries
```bash
pip3 install <>
```### Collections
```bash
ansible-galaxy collection install -r collections/requirements.yml
```### Roles
```bash
ansible-galaxy role install -r roles/requirements.yml
```While both roles and collections can be specified in one requirements file, they need to be installed separately. The `ansible-galaxy role install -r requirements.yml` will only install roles and `ansible-galaxy collection install -r requirements.yml -p ./` will only install collections. See [Installing roles and collections from the same requirements.yml file](https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-roles-and-collections-from-the-same-requirements-yml-file).
### Run in Playbook in an Execution Environment
#### Create Execution Environment image with Ansible builder
Image details in [execution-environment.yml](execution-environment.yml). This is optional, you can pull the image from [quay.io/nleiva/ee_general_image](https://quay.io/repository/nleiva/ee_general_image).
```bash
ansible-builder build -t quay.io/nleiva/ee_general_image
```