-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from carlbuchmann/remote-roles
Remote roles
- Loading branch information
Showing
22 changed files
with
71 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# iac-dev - Release 2.1.3 | ||
# iac-dev - Release 2.2rc | ||
|
||
This playbook configures RedHat/Centos or Debian/Ubuntu workstation for `Infrastructure as Code` development with Ansible. | ||
|
||
|
@@ -26,11 +26,13 @@ It configures your IaC Development workstation with: | |
- `git config --global user.email "[email protected]"` | ||
- `git config --global user.name "Your Name"` | ||
6. Clone this repository to your home directory: `git clone https://github.com/carlbuchmann/iac-dev` | ||
7. *Optional Customization* : | ||
- to enable WinRM: Edit `./iac-dev/roles/ansible-engine/defaults/main.yml` and enter your active directory domain information | ||
- Add/remove vscode extensions: Edit `./iac-dev/roles/vscode/defaults/main.yml` ( recommended extensions will be installed by default ) | ||
8. run playbook: `ansible-playbook iac-dev.yml --ask-become-pass` | ||
9. launch vscode: `code` and start developing! | ||
7. change directory to iac-dev `cd iac-dev/` | ||
8. Install requires roles: `ansible-galaxy install -r roles/requirements.yml --force` | ||
9. *Optional Customization* : | ||
- to enable WinRM: Edit `./iac-dev/host_vars/localhost.yml` and enter your active directory domain information | ||
- Add/remove vscode extensions: Edit `./iac-dev/host_vars/localhost.yml` ( recommended extensions will be installed by default ) | ||
10. run playbook: `ansible-playbook iac-dev.yml --ask-become-pass` | ||
11. launch vscode: `code` and start developing! | ||
|
||
## Installation Instructions Debian/Ubuntu | ||
|
||
|
@@ -46,17 +48,19 @@ It configures your IaC Development workstation with: | |
- `git config --global user.email "[email protected]"` | ||
- `git config --global user.name "Your Name"` | ||
6. Clone this repository to your home directory: `git clone https://github.com/carlbuchmann/iac-dev` | ||
7. *Optional Customization* : | ||
- to enable WinRM: Edit `./iac-dev/roles/ansible-engine/defaults/main.yml` and enter your active directory domain information | ||
- Add/remove vscode extensions: Edit `./iac-dev/roles/vscode/defaults/main.yml` ( recommended extensions will be installed by default ) | ||
8. run playbook: `ansible-playbook iac-dev.yml --ask-become-pass` | ||
9. launch vscode: `code` and start developing! | ||
7. change directory to iac-dev `cd iac-dev/` | ||
8. Install requires roles: `ansible-galaxy install -r roles/requirements.yml --force` | ||
9. *Optional Customization* : | ||
- to enable WinRM: Edit `./iac-dev/host_vars/localhost.yml` and enter your active directory domain information | ||
- Add/remove vscode extensions: Edit `./iac-dev/host_vars/localhost.yml` ( recommended extensions will be installed by default ) | ||
10. run playbook: `ansible-playbook iac-dev.yml --ask-become-pass` | ||
11. launch vscode: `code` and start developing! | ||
|
||
### Recommended Visual Studio Code extentions | ||
|
||
- [YAML Support by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) | ||
- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) | ||
- [Jinja](https://marketplace.visualstudio.com/items?itemName=wholroyd.jinja) | ||
- [Jinja](https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml) | ||
- [PowerShell](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) | ||
- [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) | ||
- [Ansible](https://marketplace.visualstudio.com/items?itemName=vscoss.vscode-ansible) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
- hosts: localhost | ||
become: true | ||
|
||
tasks: | ||
|
||
- name: Install XRDP | ||
include_role: | ||
name: xrdp | ||
|
||
- name: Install Visual Studio Code | ||
include_role: | ||
name: vscode | ||
- name: Install Git | ||
import_role: | ||
name: git | ||
tags: git | ||
|
||
- name: Install PowerShell | ||
import_role: | ||
name: powershell | ||
tags: powershell | ||
|
||
- name: Install XRDP | ||
import_role: | ||
name: xrdp | ||
tags: xrdp | ||
|
||
- name: Install Git | ||
include_role: | ||
name: git | ||
- name: Deploy latest version of ansible, enable windows remote management with kerberos and install various module dependencies | ||
import_role: | ||
name: ansible-engine | ||
tags: ansible | ||
|
||
- name: Install PowerShell | ||
include_role: | ||
name: powershell | ||
- hosts: localhost | ||
|
||
- name: Deploy latest version of ansible, enable windows remote management with kerberos and install various module dependencies | ||
include_role: | ||
name: ansible-engine | ||
tasks: | ||
|
||
- name: Install Visual Studio Code | ||
import_role: | ||
name: vscode | ||
tags: vscode | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.