Skip to content
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

feat: Add optional setup_file_server.yaml playbook #105

Draft
wants to merge 1,038 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1038 commits
Select commit Hold shift + click to select a range
f9e4d71
Changed name of storage group and root logvol
jacobemery Jun 26, 2022
770df5a
Resolving conflicts
jacobemery Jun 27, 2022
c156436
Changed haproxy config to use FQDNs instead of IPs
jacobemery Jun 27, 2022
0cffb70
Moved wait for bootstrap complete role to create_nodes playbook
jacobemery Jun 27, 2022
e8d8de0
Fixed workstation pkgs list format
jacobemery Jun 27, 2022
7d8671a
Added tarballs of ansible galaxy collections in preparation for suppo…
jacobemery Jun 27, 2022
35d7d04
Added one more to list of control vm_name list to match IP & hostname…
jacobemery Jun 27, 2022
995382c
Fixed variables file reference in playbooks
jacobemery Jul 1, 2022
8eb51a3
Restructured GitHub Pages
jacobemery Jul 12, 2022
5661d47
Renamed playbooks to include numbers
jacobemery Jul 12, 2022
89934d3
Added comment to explain templating source
jacobemery Jul 12, 2022
f01ad23
Removed teardown playbook
jacobemery Jul 12, 2022
3e0b1be
Restructured GH Pages docs
jacobemery Jul 12, 2022
f4e4c59
Split set variables docs into two groups. Sectioned them out too.
jacobemery Jul 12, 2022
b37f593
Added packages and Ansible-Galaxy collection installs as pre-reqs.
jacobemery Jul 12, 2022
faca8d0
Added detailed notes on each playbook.
jacobemery Jul 12, 2022
1a8b498
Removed reference to deprecated doc.
jacobemery Jul 12, 2022
46609db
Added numbers to playbooks' file names and setup to site.yaml playbook
jacobemery Jul 12, 2022
5b655fc
Include test playbook for people to double check variables/syntax
jacobemery Jul 12, 2022
bfa4e89
Added multi-LPAR deployment variables
jacobemery Jul 12, 2022
b53a422
Added example KVM host host_vars files
jacobemery Jul 12, 2022
82038dc
Added conditionals to Ansible-Galaxy installs and checks on host_vars…
jacobemery Jul 12, 2022
d02f3b7
Added support for multi-LPAR deployments
jacobemery Jul 12, 2022
69f8b83
Added support for multi-LPAR deployments
jacobemery Jul 12, 2022
6cce8ff
Added support for multi-LPAR deployments
jacobemery Jul 12, 2022
888fc85
Moved kickstart to use HTTP for ISO fetching as it's more reliable.
jacobemery Jul 12, 2022
172df51
Added support for OpenVPN to enable cross-KVM host communication
jacobemery Jul 12, 2022
39b7e10
Moved wait_forbootstrap to create_nodes role to make sure bootstrappi…
jacobemery Jul 12, 2022
1c29381
Moved wait_forbootstrap to create_nodes role to make sure bootstrappi…
jacobemery Jul 12, 2022
7c9f9dc
Added roles from roberdebock to aid in setting up OpenVPN.
jacobemery Jul 12, 2022
0188776
Changed set_inventory to use a template instead to provide cleaner fl…
jacobemery Jul 12, 2022
bf15d2a
Consolidated pull secret and repo into one page
jacobemery Jul 12, 2022
b791c64
Added support for multiple nameservers
jacobemery Jul 12, 2022
50a3882
Removed role associated with teardown playbook
jacobemery Jul 12, 2022
3b925bc
Removed KUBECONFIG export from role
jacobemery Jul 12, 2022
4d0de46
Reordered tasks, changed OCP install directory, and moved deletion of…
jacobemery Jul 12, 2022
b74cbb2
Changed conditionals from is to ==
jacobemery Jul 12, 2022
bfb69ee
Added task to create lines in /etc/hosts in order to allow users to l…
jacobemery Jul 12, 2022
ea6d30b
Changed kickstart's storage parameters
jacobemery Jul 12, 2022
3161153
Changed references to variables to match new structure
jacobemery Jul 12, 2022
04dbeac
Switched variable used in vdisk name to something less dependent on c…
jacobemery Jul 12, 2022
73dfd19
Changed to HTTP for booting RHEL on bastion
jacobemery Jul 12, 2022
b3e40be
Added network parameters for kickstart to template
jacobemery Jul 12, 2022
241ce11
Removed libvirt/images option to customize install location for VM disks
jacobemery Jul 12, 2022
e63cef0
Added support for spreading compute nodes across three LPARs.
jacobemery Jul 12, 2022
90d37c3
Added support for three LPARs to spread control nodes across.:
jacobemery Jul 12, 2022
ec64e89
Changed variable references to match new structure
jacobemery Jul 12, 2022
d6e85b4
Changed variable references to match new structure
jacobemery Jul 12, 2022
b525100
Add support for attaching two storage groups
jacobemery Jul 12, 2022
10d822d
Switched to template out resolv.conf on bastion
jacobemery Jul 12, 2022
5594997
Switched default kubeconfig, added tasks to ensure proper permissions…
jacobemery Jul 12, 2022
57223e5
Capitalized boolean values
jacobemery Jul 12, 2022
5b45daf
Added spaces in-between variables and their curly brackets
jacobemery Jul 12, 2022
83ac0e9
Added spaces in-between variables and their curly brackets
jacobemery Jul 12, 2022
0f51c81
Changed libvirt/images to hardcoded value
jacobemery Jul 12, 2022
3621ce4
Switched to more idempotent task
jacobemery Jul 12, 2022
1a62e63
Added disclaimer about commands in configure_storage role about idemp…
jacobemery Jul 12, 2022
75f5587
Fixed known hosts causing errors when restarting from scratch
jacobemery Jul 12, 2022
7e702e2
Made SSH copy ID role idempotent, thanks Nicogit add roles/ssh_copy_i…
jacobemery Jul 12, 2022
6e05823
Added Nico Boehr to acknowledgements
jacobemery Jul 12, 2022
8006ec9
Changed location of SSH OCP key to root's home
jacobemery Jul 12, 2022
893b486
Changed variables to fit new structure
jacobemery Jul 12, 2022
faa6f5a
Switched to templating out inventory file tobe cleaner
jacobemery Jul 12, 2022
fc9319f
Added Trevor Vardeman to acknowledgements for providing feedback on t…
jacobemery Jul 12, 2022
5722249
Resolved conflicts with merge
jacobemery Jul 12, 2022
2b374cd
Added info on high availability deployments update and removed items …
jacobemery Jul 12, 2022
d5693bc
Added podman idea to roadmap
jacobemery Jul 12, 2022
caed026
Merge branch 'main' into nrb/fixes
jacobemery Jul 12, 2022
3809502
Merge pull request #38 from NicoBoehrIBM/nrb/fixes
jacobemery Jul 12, 2022
9b407da
[ImgBot] Optimize images
ImgBotApp Jul 12, 2022
f33da5b
Fix OCP SSH key variable reference
jacobemery Jul 13, 2022
c4ffd4d
Fix OCP SSH key variable reference
jacobemery Jul 13, 2022
d3cb608
Fixed name of infra task
jacobemery Jul 14, 2022
c9cad10
Merge remote-tracking branch 'origin/imgbot'
jacobemery Jul 14, 2022
def40c8
Re-added quotes around pull secret.
jacobemery Jul 21, 2022
a3868c0
Fix reference to inventory file.
jacobemery Sep 7, 2022
9a05801
Add $ to regexp
jacobemery Nov 15, 2022
adc6b13
Comment out configure storage task as it is not universal
jacobemery Nov 15, 2022
2962a31
Add kvm host users definition to docs
jacobemery Dec 6, 2022
cfbce28
Fix for the default storage pool usage. Use newly created storage poo…
AmadeusPodvratnik Dec 21, 2022
e5e8a49
Sometimes it is necessary (and very convenient) to work with the root…
AmadeusPodvratnik Dec 21, 2022
6d60451
Merge pull request #42 from AmadeusPodvratnik/fix_storagepool_usage
jacobemery Dec 21, 2022
fd97b3d
Changed task description
jacobemery Dec 21, 2022
ca105ff
Changed task description
jacobemery Dec 21, 2022
8becba9
Change task description
jacobemery Dec 21, 2022
3361765
Add description in docs for using root
jacobemery Dec 21, 2022
a94fe87
Merge pull request #43 from AmadeusPodvratnik/root_user_enablement
jacobemery Dec 21, 2022
832cdad
Add clarification to no_proxy var description
jacobemery Jan 3, 2023
6f371f7
Updated docs to clarify no_proxy var
jacobemery Jan 3, 2023
4c416a3
Automatically add necessary no_proxy info to install_config
jacobemery Jan 3, 2023
415c1ce
Fix proxy info template
jacobemery Jan 4, 2023
65553df
Fix typo in tag
silliman Jan 4, 2023
a512b08
Merge pull request #44 from silliman/patch-1
jacobemery Jan 4, 2023
6fa89a5
Comment out non-universal tasks
jacobemery Jan 4, 2023
7d95b91
feat: Add .editorconfig
smolin-de Jan 9, 2023
09b7bd4
feat: Add .ansible-lint
smolin-de Jan 9, 2023
50c18c2
fix: Simplify OCP verification code
smolin-de Jan 9, 2023
f96e0d0
Merge pull request #47 from smolin-de/add_lint_config
jacobemery Jan 9, 2023
19b81f0
Merge pull request #48 from smolin-de/add_editorconfig
jacobemery Jan 9, 2023
b709265
feat: Use KVM host to store bastion kickstart file
smolin-de Jan 10, 2023
5b4b892
fix(create-bastion): Update bastion-ks.cfg
smolin-de Jan 9, 2023
38329e8
fix: Problem wit ansible_python_interpreter variable and value
smolin-de Jan 10, 2023
66e3dcb
feat: Untrack all.yaml file in git
smolin-de Jan 9, 2023
2f6c9b4
Merge branch 'IBM:main' into untrack_all_yaml
smolin-de Jan 10, 2023
724f917
Merge branch 'IBM:main' into simplify_verification
smolin-de Jan 10, 2023
013eaaa
Merge branch 'IBM:main' into new_bastion_ks
smolin-de Jan 10, 2023
39426e2
fix: Remove unused spaces
smolin-de Jan 10, 2023
4eeb568
Remove reference to interpreter_python in template
jacobemery Jan 10, 2023
92ebdcd
Merge pull request #52 from smolin-de/new_python_path
jacobemery Jan 10, 2023
a1d3c3e
Add documentation for copying from template
jacobemery Jan 10, 2023
d8e9cc3
Merge pull request #51 from smolin-de/untrack_all_yaml
jacobemery Jan 10, 2023
7542e86
Fix jinja template error
jacobemery Jan 10, 2023
cdc1626
Merge pull request #55 from smolin-de/remove_unused_spaces
jacobemery Jan 10, 2023
f4c9e55
gitignore host_vars files similar to all.yaml
jacobemery Jan 10, 2023
c08f5aa
Remove old host_vars templates
jacobemery Jan 10, 2023
4dfa3dd
Change interpreter_python to auto
jacobemery Jan 10, 2023
97a1778
fix(ssh): Some minor fixes
smolin-de Jan 11, 2023
6c62439
fix: Add retry if subscription server is not available
smolin-de Jan 11, 2023
1dee870
Ensure repos enabled with new Simple Content Access method
jacobemery Jan 11, 2023
0d1bc80
Use ansible facts for enabling repos
jacobemery Jan 11, 2023
a1250bc
Merge branch 'main' into improve_subscription
jacobemery Jan 11, 2023
681ee86
Merge pull request #57 from smolin-de/improve_subscription
jacobemery Jan 11, 2023
cd08a0c
Merge pull request #56 from smolin-de/some_ssh_fixes
jacobemery Jan 11, 2023
02e58d2
Added rhel to os-variant to avoid error
jacobemery Jan 11, 2023
9abb56a
Merge branch 'main' into use_http_ks_service
jacobemery Jan 11, 2023
9d3401d
Merge pull request #53 from smolin-de/use_http_ks_service
jacobemery Jan 11, 2023
10fc5da
Merge pull request #50 from smolin-de/new_bastion_ks
jacobemery Jan 11, 2023
a13a50f
Retry parameter needs until to work
jacobemery Jan 11, 2023
fc6ff9f
Fix until conditional
jacobemery Jan 11, 2023
f63be8b
remove test tag
jacobemery Jan 11, 2023
164ca20
Reformat conditional
jacobemery Jan 11, 2023
f33fbec
remove test tag
jacobemery Jan 11, 2023
f3c2563
Fix conditional
jacobemery Jan 11, 2023
ceefdfa
Fix template formatting
jacobemery Jan 11, 2023
94d911d
Merge branch 'main' into simplify_verification
jacobemery Jan 11, 2023
0611a65
Merge pull request #49 from smolin-de/simplify_verification
jacobemery Jan 11, 2023
0ad3d49
Delete inventory/hosts
jacobemery Jan 12, 2023
7f29c28
gitignore hosts file in inventory
jacobemery Jan 12, 2023
8e3274c
Add names
jacobemery Jan 12, 2023
e026923
Add site to gitignore
jacobemery Jan 12, 2023
59c2ae5
Remove explicit repository check
jacobemery Jan 12, 2023
02792ef
feat: Add delete_nodes role (#60)
smolin-de Jan 12, 2023
b6c292c
feat: Add delete_nodes role (#60)
smolin-de Jan 12, 2023
e17d34d
Remove os_variant var, hardcode as auto
jacobemery Jan 12, 2023
d37fb31
fix(bootstrap): Deletion of existing VM image (#59)
smolin-de Jan 12, 2023
6345cf3
Fix bastion nameserver assignment
jacobemery Jan 12, 2023
e744751
fix: Improve output of openshift-installer progress and check (#61)
smolin-de Jan 13, 2023
f16d27b
Remove conflicting quotes
jacobemery Jan 13, 2023
e622fe1
fix: Improve waiting for cluster operators check (#68)
smolin-de Jan 17, 2023
af4df5f
fix: Enable autostart for control, compute and infra VMs (#62)
smolin-de Jan 17, 2023
383d573
fix: Wrong long line break (#69)
smolin-de Jan 17, 2023
7042aff
Merge branch 'main' of https://github.com/IBM/Ansible-OpenShift-Provi…
jacobemery Jan 17, 2023
e03f483
Revert bastion nameserver patch (#63)
smolin-de Jan 18, 2023
ed8dd70
fix: Problem with hostname and 2nd nameserver definition (#66)
smolin-de Jan 18, 2023
ed2c8cd
update template file (#71)
routerhan Jan 18, 2023
2644023
Bump default OCP and RHCOS versions to 4.12
jacobemery Jan 18, 2023
9a5dbfc
fix: Add api.<metadata_name>.<base_domain> to /etc/hosts (#70)
smolin-de Jan 18, 2023
2fe37d6
fix: Disable /etc/resolv.conf updates by NetworkManager (#72)
smolin-de Jan 18, 2023
506acbb
Switch to controller
jacobemery Jan 18, 2023
25e1a9b
Switch to localhost
jacobemery Jan 18, 2023
e23a13d
fix: Improve node check (#74)
smolin-de Jan 18, 2023
7317386
Add reinstall_cluster playbook (#75)
jacobemery Jan 19, 2023
a226266
fix: Create nodes on LPAR1 in non high availability mode (#76)
smolin-de Jan 19, 2023
86d8b62
Clarify private_key_file in ansible.cfg
jacobemery Jan 19, 2023
7b3f77f
Remove comment
jacobemery Jan 24, 2023
4d37235
perf: remove deprecated role (#80)
jacobemery Jan 25, 2023
c0b5507
feat: additional artifact refresh (#81)
jacobemery Jan 25, 2023
9b8a25b
fix: Group virt does not exist in RHEL9 (#82)
smolin-de Jan 25, 2023
0dcfb8e
feat: Improve OCP versioning (#78)
jacobemery Jan 26, 2023
b89d854
feat: Add .releaserc.json (#83)
smolin-de Jan 26, 2023
b0cd008
fix: Conform proxy vars (#79)
jacobemery Jan 26, 2023
f02224e
fix: Update license copyright message (#85)
smolin-de Jan 27, 2023
f554452
fix: Remove semantic-release/github plugin (#84)
smolin-de Jan 27, 2023
acc7653
feat: Add semantic-release/github plugin (#87)
smolin-de Jan 30, 2023
c48f99b
fix: use bastion nameserver in /etc/resolv.conf
jacobemery Feb 10, 2023
de97a90
feat: Add NAT-based networking support besides macvtap (#77)
AmadeusPodvratnik Feb 17, 2023
1e9fe33
feat: automate install of zhmc dependencies (#86)
jacobemery Feb 17, 2023
162d42a
fix: remove docs/CHANGELOG.md (#88)
smolin-de Feb 17, 2023
e5b2cd8
chore: change default cluster network to OVNKubernetes (#91)
smolin-de Feb 17, 2023
b549b17
fix: escape host and group vars from .gitignore (#98)
jacobemery Feb 17, 2023
a002606
fix: add bootstrap to delete_nodes role (#99)
jacobemery Feb 17, 2023
7cd10a0
Fix typo in README
jacobemery Feb 22, 2023
0e5c111
fix: Change ftp server to file server (#102)
jacobemery Feb 23, 2023
5e19edb
feat: add optional setup_file_server.yaml playbook
jacobemery Feb 23, 2023
866cc6f
docs: Clarify docs for setup_file_server
jacobemery Feb 23, 2023
3187a10
fix: change boot_ftp_insfile path
jacobemery Feb 24, 2023
30059a1
fix: Add gitignore to inventories (#104)
jacobemery Mar 7, 2023
c02f007
Merge branch 'main' into add_file_server_playbook
jacobemery Mar 7, 2023
6c4e158
fix: Typo - pull_request to pull_secret in comment
jacobemery Mar 9, 2023
cc573a5
Merge branch 'main' into add_file_server_playbook
jacobemery Mar 10, 2023
2ee8f9c
fix: typo
jacobemery Mar 16, 2023
b76b9ac
fix: incorrect double quote type
jacobemery Mar 16, 2023
cdd52fe
feat: Unprivileged kvm admin (#106)
jacobemery Apr 6, 2023
e7973d7
fix: Adjust boolean code style (#110)
smolin-de Apr 10, 2023
5e67ad9
fix: Add timeout for bastion and bootstrap VM creation (#111)
smolin-de Apr 10, 2023
fb3eb4e
chore: Update .editorconfig (#112)
smolin-de Apr 10, 2023
d216fcb
fix: Remove '3_setup_kvm_host' from 'pre-existing_site' playbook (#109)
smolin-de Apr 10, 2023
b2a6bd1
Merge branch 'main' into add_file_server_playbook
jacobemery Apr 10, 2023
8724b1d
fix: Adjust bootstrap wait time (#114)
smolin-de Apr 10, 2023
0cd901e
fix: Flipped NIC device numbers
jacobemery Apr 10, 2023
cba080b
fix: Separate RHCOS and OCP versions (#126)
smolin-de May 17, 2023
fe4cea1
Changes to handle creation of AgentServiceConfig, Hosted Control Plan…
veera-damisetti May 22, 2023
d164fe4
Fix: Change in documentation Adding vault (#137)
veera-damisetti May 22, 2023
bcb6874
Fix: Add keyboard layout support to bastion kickstart template (#132)
AmadeusPodvratnik May 22, 2023
a8928e5
fix: Remove bash set command (#138)
smolin-de May 22, 2023
e8609fe
chore: Add common role to support future multi arch setups (#116)
smolin-de May 24, 2023
db8d7a7
fix: Increase csr wait time (#139)
smolin-de May 26, 2023
f0fe213
chore: Improve node check (#141)
smolin-de May 26, 2023
ecad687
chore: Install bootstrap on first KVM host (#145)
smolin-de May 26, 2023
0233542
fix: Use _vm_console variable (#146)
smolin-de May 26, 2023
0c144d9
chore: Improve 'reinstall_cluster' playbook (#142)
smolin-de May 30, 2023
14e7d10
fix: Remove uuid from storage template file (#150)
smolin-de May 31, 2023
8fa691c
chore: Use new OCP version and download variables (#149)
smolin-de May 31, 2023
bf3a7b9
fix: Wrong indentation (#152)
smolin-de Jun 1, 2023
21a347d
chore: Add var-naming[no-role-prefix] rule (#151)
smolin-de Jun 2, 2023
2274600
feat: Add and delete compute nodes (day-2) (#153)
smolin-de Jun 16, 2023
130c19e
fix: Check for 'PROGRESSING' state, instead 'AVAILABLE' state (#168)
smolin-de Jun 16, 2023
8e8fadd
chore: Reduce node wait time (#169)
smolin-de Jun 16, 2023
963176c
chore: Minor debug improvements (#172)
smolin-de Jun 22, 2023
bf1474e
fix: Update Bastion DNS entries only when enabled (#171)
smolin-de Jun 22, 2023
f454bde
feat: add setup bastion for hypershift (#147)
veera-damisetti Jul 7, 2023
8f5b242
feat: Add creation of agents for hypershift (#175)
veera-damisetti Jul 20, 2023
89e2fba
Updated change to use ansible module for ssh key generation (#180)
veera-damisetti Jul 21, 2023
9ca84bc
feat: Static IP support for agents using NMState and MCE operator ins…
veera-damisetti Jul 28, 2023
5e53a03
Enhancement: Changed the way of getting hypershift binary (#186)
veera-damisetti Aug 7, 2023
2f257f4
Enhancement: Added support for non root user to run hypershift playbo…
veera-damisetti Aug 10, 2023
730f3a7
Fix : Changed ssh key path - Hypershift (#191)
veera-damisetti Aug 11, 2023
2c6e6cf
feat: Detect automatically required RHCOS images for compute nodes (#…
smolin-de Aug 16, 2023
dcf34e8
Enhancement: Changed port for httpd configuration (#194)
veera-damisetti Sep 7, 2023
d62b453
docs: add hypershift, remove CHANGELOG from mkdocs.yaml (#195)
jacobemery Sep 8, 2023
7e7c497
docs: automate docs deployment on update (#196)
jacobemery Sep 8, 2023
5bd16b6
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Sep 8, 2023
71ac238
fix: root user support - issue #188 (#197)
AmadeusPodvratnik Sep 13, 2023
a33d339
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Sep 14, 2023
765b3c4
fix: pull updated gh-pages (#200)
jacobemery Sep 15, 2023
cf3228b
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Sep 15, 2023
309acbb
Fix YAML syntax error in GH Action
jacobemery Sep 15, 2023
c676183
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Sep 18, 2023
aa03eca
fix: Improve error handling (#201)
smolin-de Sep 19, 2023
66d7509
fix: Import DNS role when defined and enabled (#202)
smolin-de Sep 19, 2023
d181ac4
Fix: Added ClusterImageSet creation for nightly build image (#204)
veera-damisetti Sep 19, 2023
0682fbb
feat: Add support to create aarch64 (arm64) compute node (#203)
smolin-de Sep 19, 2023
4fe5dd0
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Sep 19, 2023
254e868
fix: add manual option for docs deploy
jacobemery Sep 21, 2023
34dcd55
fix: Adjust wait time for bootstrap complete (#208)
smolin-de Oct 4, 2023
4166d08
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Oct 9, 2023
5d0c254
fix: Temporary ignore some DNS checks (#212)
smolin-de Oct 12, 2023
27d1202
fix: Typo in when statement (#215)
smolin-de Oct 18, 2023
e13365a
fix: Increase timeout from 300 to 360 sec (#218)
smolin-de Oct 19, 2023
76e77a3
Merge branch 'main' into add_file_server_playbook
AmadeusPodvratnik Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
# .ansible-lint

profile: null # min, basic, moderate, safety, shared, production

# exclude_paths included in this file are parsed relative to this file's location
# and not relative to the CWD of execution. CLI arguments passed to the --exclude
# option are parsed relative to the CWD of execution.
exclude_paths:
- .github/
- docs/
# parseable: true
# quiet: true
# strict: true
verbosity: 1

skip_list:
- no-changed-when
- name[casing]
- var-naming[no-role-prefix]
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[Dockerfile]
indent_size = 4

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Don't mess with markdown files
[*.md]
trim_trailing_whitespace = false

[*.py]
indent_size = 4

[*.sh]
indent_size = 4

[*.{yml,yaml}]
indent_size = 2
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Auto detect text files and perform LF normalization
* text=auto
*.yaml linguist-detectable=true
*.yaml linguist-language=YAML
4 changes: 4 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This enables DCO bot for you, please take a look https://github.com/probot/dco
# for more details.
require:
members: false
41 changes: 41 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish docs via GitHub Pages
on:
workflow_dispatch:

push:
branches:
- main
paths:
- 'mkdocs.yaml'
- 'docs/**'

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Fetch Latest gh-pages Branch
run: |
git fetch origin gh-pages
git checkout gh-pages
git pull origin gh-pages
git checkout main

- name: Install mkdocs
run: pip install mkdocs

- name: Deploy docs
run: python3 -m mkdocs gh-deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.DS_Store
.iso
.vscode
site
30 changes: 30 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"branches": [
{"name": "main"}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{"type": "chore", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "test", "release": "patch"},
{"type": "perf", "release": "patch"}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "section": "Miscellaneous"},
{"type": "docs", "section": "Documentation"},
{"type": "perf", "section": "Performance"},
{"type": "test", "section": "Tests", "hidden": false}
]
}
}],
"@semantic-release/github"
]
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021, 2023 IBM Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Ansible-OpenShift-Provisioning

Phillip adding comment via lesson 3

# Ansible-Automated OpenShift Provisioning on KVM on IBM zSystems / LinuxONE
The documentation for this project can be found [here](https://ibm.github.io/Ansible-OpenShift-Provisioning/).
12 changes: 9 additions & 3 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[defaults]
inventory = inventory
private_key_file = ~/.ssh/ansible

private_key_file=~/.ssh/ansible-ocpz
inventory=inventories/default/
roles_path=roles
#collections_path=collections
interpreter_python=auto
host_key_checking=False
deprecation_warnings=False

[inventory]
cache=True
45 changes: 0 additions & 45 deletions bootstrap.yml

This file was deleted.

23 changes: 0 additions & 23 deletions build_script.sh

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 0 additions & 28 deletions copy-image.yml

This file was deleted.

13 changes: 13 additions & 0 deletions docs/acknowledgements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Phillip Wilson
Filipe Miranda
Patrick Fruth
Wasif Mohammad
Stuart Tener
Fred Bader
Ken Morse
Nico Boehr
Trevor Vardeman
Matt Mondics
Klaus Smolin
Amadeus Podvratnik
Miao Zhang-Cohen
30 changes: 30 additions & 0 deletions docs/before-you-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Before You Begin
## Description
* This project automates the User-Provisioned Infrastructure (UPI) method for deploying Red Hat OpenShift Container Platform (RHOCP) on IBM zSystems / LinuxONE using Kernel-based Virtual Machine (KVM) as the hypervisor.
## Support
* This is an unofficial project created by IBMers.
* This installation method is not officially supported by either Red Hat or IBM.
* However, once installation is complete, the resulting cluster is supported by Red Hat. UPI is the only supported method for RHOCP on IBM zSystems.
## Difficulty
* This process is much easier than doing so manually, but still not an easy task. You will likely encounter errors, but you will reach those errors quicker and understand the problem faster than if you were doing this process manually. After using these playbooks once, successive deployments will be much easier.
* A very basic understanding of what Ansible does is recommended. Advanced understanding is helpful for further customization of the playbooks.
* A basic understanding of the command-line is required.
* A basic understanding of git is recommended, especially for creating your organization's own fork of the repository for further customization.
* An advanced understanding of your computing environment is required for setting the environment variables.
* These Ansible Playbooks automate a User-Provisioned Infrastructure (UPI) deployment of Red Hat OpenShift Container Platform (RHOCP). This process, when done manually, is extremely tedious, time-consuming, and requires high levels of Linux AND IBM zSystems expertise.
* UPI is currently the only supported method for deploying RHOCP on IBM zSystems.
## Why Free and Open-Source?
* <u>Trust</u>:
* IBM zSystems run some of the most highly-secure workloads in the world. Trust is paramount.
* Developing and using code transparently builds trust between developers and users, so that users feel safe using it on their highly sensitive systems.
* <u>Customization</u>:
* IBM zSystems exist in environments that can be highly complex and vary drastically from one datacenter to another.
* Using code that isn't in a proprietary black box allows you to see exactly what is being done so that you can change any part of it to meet your specific needs.
* <u>Collaboration</u>:
* If users encounter a problem, or have a feature request, they can get in contact with the developers directly.
* Submit an issue or pull request on GitHub or email jacob.emery@ibm.com.
* Collaboration is highly encouraged!
* <u>Lower Barriers to Entry</u>:
* The easier it is to get RHOCP on IBM zSystems up and running, the better - for you, IBM and Red Hat!
* It is free because RHOCP is an incredible product that should have the least amount of barriers to entry as possible.
* The world needs open-source, private, and hybrid cloud.
42 changes: 42 additions & 0 deletions docs/get-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Step 1: Get Info
## Get Repository
* Open the terminal
* Navigate to a folder (AKA directory) where you would like to store this project.
* Either do so graphically, or use the command-line.
* Here are some helpful commands for doing so:
* `pwd` to see what directory you're currently in
* `ls` to list child directories
* `cd <folder-name>` to change directories (`cd ..` to go up to the parent directory)
* `mkdir <new-folder-name>` to create a new directory
* Copy/paste the following and hit enter:
`git clone https://github.com/IBM/Ansible-OpenShift-Provisioning.git`
* Change into the newly created directory
* The commands and output should resemble the following example:
```
$ pwd
/Users/example-user
$ mkdir ansible-project
$ cd ansible-project/
$ git clone https://github.com/IBM/Ansible-OpenShift-Provisioning.git
Cloning into 'Ansible-OpenShift-Provisioning'...
remote: Enumerating objects: 3472, done.
remote: Counting objects: 100% (200/200), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 3472 (delta 152), reused 143 (delta 143), pack-reused 3272
Receiving objects: 100% (3472/3472), 506.29 KiB | 1.27 MiB/s, done.
Resolving deltas: 100% (1699/1699), done.
$ ls
Ansible-OpenShift-Provisioning
$ cd Ansible-OpenShift-Provisioning/
$ ls
CHANGELOG.md README.md docs mkdocs.yaml roles
LICENSE ansible.cfg inventories playbooks
```
## Get Pull Secret
* In a web browser, navigate to Red Hat's [Hybrid Cloud Console](https://console.redhat.com/openshift/install/ibmz/user-provisioned), click the text that says 'Copy pull secret' and save it for the next step.
## Gather Environment Information
* You will need a lot of information about the environment this cluster will be set-up in.
* You will need the help of at least your IBM zSystems infrastructure team so they can provision you a storage group. You'll also need them to provide you with
* IP address range, hostnames, subnet, gateway, how much disk space you have to work with, etc.
* A full list of variables needed are found on the next page. Many of them are filled in with defaults or are optional.
* Please take your time. I would recommend having someone on stand-by in case you need more information or need to ask a question about the environment.
Binary file added docs/images/ansible-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/overview.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Ansible-Automated OpenShift Provisioning on KVM on IBM zSystems / LinuxONE
## Overview
These Ansible Playbooks automate the setup and deployment of a Red Hat OpenShift Container Platform (RHOCP) cluster on IBM zSystems / LinuxONE with Kernel Virtual Machine (KVM) as the hypervisor.
<img src="images/overview.png" width="75%"/>
## Ready to Start?
Use the left-hand panel to navigate the site. Start with the [Before You Begin](before-you-begin.md) page.
## Need Help?
Contact Jacob Emery at jacob.emery@ibm.com