GitXplorerGitXplorer
j

myansible

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
8fee3f59de8674c42c7231f4a16fca0ae4729031

Merge branch 'master' of github.com:jmeridth/myansible

jjmeridth committed 6 years ago
Verified
b12e68b4a708e613e7e40295f0c2fd76ac5cd545

add badges to readme

jjmeridth committed 6 years ago
Verified
88bf70d17f0f93776cced9e2f376af841db910c2

fix whitespace and sourcing of rvm

jjmeridth committed 6 years ago
Verified
e8f4893ab19b56aca584960fae908ca8a3cd00a4

no longer need node dependecies for keybase, install straight

jjmeridth committed 6 years ago
Verified
748bb1fc30263d27aebc78b98124b7375cdc82d5

add gpg role

jjmeridth committed 6 years ago
Unverified
a3ba00b055ecb81ec5362d8fc3ccd2bfdeaf9ef2

restructure repository

jjmeridth committed 6 years ago

README

The README file for this repository.

License

Platform Platform

My personal ansible scripts, building as I have free time

To get your hosts setup, you need to have hosts populated in /etc/ansible/hosts like so:

[web]
345.43.24.218

[remote]
123.23.23.25

[ec2]
133.3.24.5 ansible_ssh_private_key_file=/home/my_username/.ssh/my_aws.pem ansible_user=ubuntu

[local]
localhost  ansible_connection=local

or you can use the default hosts file I have in this repo by running the setup_env.sh file to just run locally.

`./setup_env.sh`

It will set the ANSIBLE_HOSTS environment variable and point it to this repo's hosts file.

How to run:

ansible-playbook remote.yml -u [username] -k

The -k will prompt you for the password. Look at ansible docs for how to avoid doing this.

OR

ansible-playbook remote.yml -K

if you just want to use the current user to connect and then provide sudo password

Suggestions and best practices welcome.

Ansible Documentation can be found here

[Jason Meridth](mailto: jmeridth@gmail.com)