Skip to content

Commit

Permalink
awx with terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Murodbey committed Dec 30, 2020
1 parent 0a040ca commit 0908e6a
Show file tree
Hide file tree
Showing 2,461 changed files with 339,979 additions and 0 deletions.
20 changes: 20 additions & 0 deletions provision_awx_with_terraform/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Steps to install awx tower.
## This documentation is for Ireland region only.

Prerequisites
1. Install terraform
2. setup IAM role or access key and secret key to access AWS
3. Upload public key of root user to aws under ireland region with the name of "tower"
4. rename id_rsa.pub of root user to tower.pem
5. chmod 400 /root/.ssh/tower.pem
6. Clone repo to /tmp/
7. become root user
8. run terraform apply


# If for some reason file provision does not work, please open port 22 and 80 on security group



Creating instances in different regions.1
1. Import pub key to all regions
29 changes: 29 additions & 0 deletions provision_awx_with_terraform/awx/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[run]
source = awx
branch = True
omit =
awx/main/migrations/*
awx/lib/site-packages/*

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:

ignore_errors = True

[xml]
output = ./reports/coverage.xml
2 changes: 2 additions & 0 deletions provision_awx_with_terraform/awx/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
awx/ui/node_modules
6 changes: 6 additions & 0 deletions provision_awx_with_terraform/awx/.dput.cf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[mini_dinstall]
fqdn = localhost
method = local
incoming = FIXME/deb-repo/mini-dinstall/incoming
run_dinstall = 0
post_upload_command = mini-dinstall -b -v
20 changes: 20 additions & 0 deletions provision_awx_with_terraform/awx/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[Makefile]
indent_style = tab

[**.py]
indent_style = space
indent_size = 4

[**.{js,less,html}]
indent_style = space
indent_size = 4

[**.{json}]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions provision_awx_with_terraform/awx/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PYTHONUNBUFFERED=true

16 changes: 16 additions & 0 deletions provision_awx_with_terraform/awx/.github/BOTMETA.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
files:
awx/ui/:
labels: component:ui
maintainers: $team_ui
awx/api/:
labels: component:api
maintainers: $team_api
awx/main/:
labels: component:api
maintainers: $team_api
installer/:
labels: component:installer

macros:
team_api: wwitzel3 matburt chrismeyersfsu cchurch AlanCoding ryanpetrello rooftopcellist
team_ui: jlmitch5 jaredevantabor mabashian marshmalien benthomasson jakemcdermott
3 changes: 3 additions & 0 deletions provision_awx_with_terraform/awx/.github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Community Code of Conduct

Please see the official [Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
48 changes: 48 additions & 0 deletions provision_awx_with_terraform/awx/.github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!---
The Ansible community is highly committed to the security of our open source
projects. Security concerns should be reported directly by email to
[email protected]. For more information on the Ansible community's
practices regarding responsible disclosure, see
https://www.ansible.com/security
-->

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Bug Report
- Feature Idea
- Documentation

##### COMPONENT NAME
<!-- Pick the area of AWX for this issue, you can have multiple, delete the rest: -->
- API
- UI
- Installer

##### SUMMARY
<!-- Briefly describe the problem. -->

##### ENVIRONMENT
* AWX version: X.Y.Z
* AWX install method: openshift, minishift, docker on linux, docker for mac, boot2docker
* Ansible version: X.Y.Z
* Operating System:
* Web Browser:

##### STEPS TO REPRODUCE

<!-- For bugs, please show exactly how to reproduce the problem. For new
features, show how the feature would be used. -->

##### EXPECTED RESULTS

<!-- For bug reports, what did you expect to happen when running the steps
above? -->

##### ACTUAL RESULTS

<!-- For bug reports, what actually happened? -->

##### ADDITIONAL INFORMATION

<!-- Include any links to sosreport, database dumps, screenshots or other
information. -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve

---

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
<!-- Pick the area of AWX for this issue, you can have multiple, delete the rest: -->
- API
- UI
- Installer

##### SUMMARY
<!-- Briefly describe the problem. -->

##### ENVIRONMENT
* AWX version: X.Y.Z
* AWX install method: openshift, minishift, docker on linux, docker for mac, boot2docker
* Ansible version: X.Y.Z
* Operating System:
* Web Browser:

##### STEPS TO REPRODUCE

<!-- Please describe exactly how to reproduce the problem. -->

##### EXPECTED RESULTS

<!-- What did you expect to happen when running the steps above? -->

##### ACTUAL RESULTS

<!-- What actually happened? -->

##### ADDITIONAL INFORMATION

<!-- Include any links to sosreport, database dumps, screenshots or other
information. -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "✨ Feature request"
about: Suggest an idea for this project

---

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
<!-- Pick the area of AWX for this issue, you can have multiple, delete the rest: -->
- API
- UI
- Installer

##### SUMMARY
<!-- Briefly describe the problem or desired enhancement. -->

##### ADDITIONAL INFORMATION

<!-- Include any links to sosreport, database dumps, screenshots or other
information. -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: "\U0001F525 Security bug report"
about: How to report security vulnerabilities

---

For all security related bugs, email [email protected] instead of using this issue tracker and you will receive a prompt response.

For more information on the Ansible community's practices regarding responsible disclosure, see https://www.ansible.com/security
9 changes: 9 additions & 0 deletions provision_awx_with_terraform/awx/.github/LABEL_MAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bug Report: type:bug
Bugfix Pull Request: type:bug
Feature Request: type:enhancement
Feature Pull Request: type:enhancement
UI: component:ui
API: component:api
Installer: component:installer
Docs Pull Request: component:docs
Documentation: component:docs
39 changes: 39 additions & 0 deletions provision_awx_with_terraform/awx/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->

<!---
If you are fixing an existing issue, please include "related #nnn" in your
commit message and your description; but you should still explain what
the change does.
-->

##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Feature Pull Request
- Bugfix Pull Request
- Docs Pull Request

##### COMPONENT NAME
<!--- Name of the module/plugin/module/task -->
- API
- UI
- Installer

##### AWX VERSION
<!--- Paste verbatim output from `make VERSION` between quotes below -->
```
```


##### ADDITIONAL INFORMATION
<!---
Include additional information to help people understand the change here.
For bugs that don't have a linked bug report, a step-by-step reproduction
of the problem is helpful.
-->

<!--- Paste verbatim command output below, e.g. before and after your change -->
```
```
Loading

0 comments on commit 0908e6a

Please sign in to comment.