-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automating applications #6
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can keep Ansible content in the root of the repository as it'll be the main thing anyway and we'll remove shell scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, rm unnecessary stat task
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stat is still unnecessary
plz put ansible content in the root of the repo, also put the apps list into a variable and remove parts of |
bump |
inventory
Outdated
@@ -0,0 +1,3 @@ | |||
[target] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be more specific here. Also it's a group so maybe plural is appropriate.
[dev-machines]
inventory
Outdated
@@ -0,0 +1,3 @@ | |||
[dev-machines] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz add another inventory file with the same group and localhost and connection local set.
So how about adding other parts of the original script here? |
85514fd
to
f798047
Compare
@@ -0,0 +1,6 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the playbook instead
inventory
Outdated
@@ -0,0 +1,3 @@ | |||
[dev-machines] | |||
|
|||
localhost ansible_connection=local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So one inventory file should have the host with connection local and the other inventory should point to the VM over SSH.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, but I need an example,pls
install-apps.yml
Outdated
apt_repository: | ||
repo: "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | ||
state: present | ||
- name: Install vscode depts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Install vscode depts | |
- name: Install vscode deps |
Bump |
bump |
Closes #5