1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 15:45:57 +01:00
Commit Graph

57 Commits

Author SHA1 Message Date
Philippe Capitaine
3dde2c594a Update link to Ansible tags explanation
Update link to Ansible tags explanation
2023-03-09 09:21:33 +01:00
Alex Dresko
4c492bda1a Update best_practices_guide.adoc 2022-02-07 13:27:20 -05:00
Russell Teague
47b766f3a4 Update docs for scaleup and upgrade 2019-04-05 09:32:51 -04:00
Russell Teague
2d78e7cb44 Docs update for 4.1 2019-03-25 12:32:04 -04:00
Russell Teague
ee2e117c92 Refactor with_items usage with Ansible package module
Using with_items with the package command results in a new transaction
for each item.  This process can take a long time with long package
lists.  Updated package tasks to pass a string of packages to the
package command resulting in a single transaction for optimal execution.
2018-08-30 23:12:13 -04:00
linzhaoming
f43149ca12 Fix the docs, add additional .parr file description 2018-06-12 11:40:34 +08:00
Scott Dodson
1a656ce0b2 Add OWNERS files
Attempt to give component owners autonomy and ensure that PRs
automatically receive assigned reviewers.

Just a first pass, open to changes in the future
2018-04-18 11:28:52 -04:00
Andrew Butcher
a716750abf Update PR docs and link to current bot commands. 2018-04-10 16:47:51 -04:00
OpenShift Merge Robot
8e2eda9909 Merge pull request #7486 from smarterclayton/remove_non_static
Make bootstrapping opt out and remove the legacy master install path
2018-04-02 20:30:38 -07:00
Clayton Coleman
ddf1aa2f1a Switch the master to always run with bootstrapping on
Change the defaults for node bootstrapping to true, all nodes will
bootstrap unless opted out. Remove containerized node artifacts

Remove the openshift_master role - it is dead.
2018-04-02 12:26:13 -04:00
Russell Teague
f9f7968f48 OpenShift Reference Component Docs 2018-03-07 10:28:12 -05:00
Scott Dodson
eacc12897c Migrate to import_role for static role inclusion
In Ansible 2.2, the include_role directive came into existence as
a Tech Preview. It is still a Tech Preview through Ansible 2.4
(and in current devel branch), but with a noteable change. The
default behavior switched from static: true to static: false
because that functionality moved to the newly introduced
import_role directive (in order to stay consistent with include*
being dynamic in nature and `import* being static in nature).

The dynamic include is considerably more memory intensive as it will
dynamically create a role import for every host in the inventory
list to be used. (Also worth noting, there is at the time of this
writing an object allocation inefficiency in the dynamic include
that can in certain situations amplify this effect considerably)

This change is meant to mitigate the pressure on memory for the
Ansible control host.

We need to evaluate where it makes sense to dynamically include roles
and revert back to dynamic inclusion if and where it makes sense to do
so.
2018-01-05 12:44:56 -05:00
Scott Dodson
13ca9bbd62 Remove all uses of openshift.common.admin_binary
Replace with `oc adm`
2017-12-07 09:51:54 -05:00
Michael Gugino
7eb4c906dc Proposal: container_runtime role
This is a proposal meant to facilitate discussion.

Input is welcome.
2017-11-07 16:06:56 -05:00
Peter Portante
578ac5b348 Use "requests" for CPU resources instead of limits
We now use a CPU request to ensure logging infrastructure pods are
not capped by default for CPU usage. It is still important to ensure
we have a minimum amount of CPU.

We keep the use of the variables *_cpu_limit so that the existing
behavior is maintained.

Note that we don't want to cap an infra pod's CPU usage by default,
since we want to be able to use the necessary resources to complete
it's tasks.

Bug 1501960 (https://bugzilla.redhat.com/show_bug.cgi?id=1501960)
2017-10-19 11:02:14 -04:00
Scott Dodson
4f5839e585 Merge pull request #5322 from mtnbikenc/proposal-playbook-consolidation
[Proposal] OpenShift-Ansible Playbook Consolidation
2017-09-20 11:14:30 -04:00
Russell Teague
a96463d140 Rework openshift-cluster into deploy_cluster.yml 2017-09-13 14:50:32 -04:00
Russell Teague
240d66b067 [Proposal] OpenShift-Ansible Proposal Process 2017-09-11 14:28:55 -04:00
Russell Teague
d17fe01a85 [Proposal] OpenShift-Ansible Playbook Consolidation 2017-09-06 15:57:05 -04:00
Russell Teague
7da3f730a2 Remove unsupported playbooks and utilities 2017-08-25 10:52:10 -04:00
Scott Dodson
cfbd8abf4b Merge pull request #3813 from ewolinetz/role_decomposition_proposal
Creating initial proposal doc for review
2017-06-30 17:20:16 -04:00
Jonathan Lebon
d840f53aaa docs: better documentation for PAPR
Add a section in `repo_structure.md`, and rename from `redhat-ci` to
`PAPR` and point to the new upstream repo in `pull_requests.md`.

Closes: #4078
2017-06-14 13:28:37 -04:00
Scott Dodson
e8feac55dc Merge pull request #4129 from rhcarvalho/document-redhat-ci-job
Note existence of Fedora tests and how to rerun
2017-05-10 13:46:37 -04:00
Rodolfo Carvalho
4faec6f851 Note existence of Fedora tests and how to rerun 2017-05-09 15:42:55 +02:00
Rodolfo Carvalho
a0539d0c45 Remove vim configuration from Python files
In a project where contributors are free to use whatever editor they
want and we have linting tools that verify the proper formatting of
Python files, it should not be required to have a vim-specific line in
Python files.
2017-05-09 10:49:55 +02:00
Scott Dodson
717c36fde2 Don't double quote when conditions 2017-05-01 11:05:33 -04:00
ewolinetz
bb9d1bd8af Adding some more sections to additional considerations, being less rigid on large roles for composing -- can also be a playbook 2017-04-27 16:48:11 -05:00
Rodolfo Carvalho
1d80c4cef8 Document the Pull Request process 2017-04-27 15:20:38 +02:00
Rodolfo Carvalho
9fd022f65d Move repo structure to a separate document
Reduces the clutter in CONTRIBUTING.md.
2017-04-27 11:54:12 +02:00
Rodolfo Carvalho
8734fb6a7e Remove outdated information about PRs
The contents are outdated and irrelevant since the "best practice" is
automatically enforced.

Documenting the PR flow is out of the Best Practices guide.
2017-04-27 11:54:11 +02:00
ewolinetz
66f18efad7 Updating snippet contents, formatting and providing urls 2017-04-21 15:49:38 -05:00
ewolinetz
1c402c309f Update snippets and add bullet point on role dependency 2017-04-05 10:01:05 -05:00
ewolinetz
c8af815005 Creating initial proposal doc for review 2017-03-30 15:12:51 -05:00
Russell Teague
7e0c346c84 Refactor to use Ansible package module
The Ansible package module will call the correct package manager for the
underlying OS.
2016-11-17 15:10:37 -05:00
Russell Teague
a98883e844 Corrected syntax and typos 2016-11-16 10:32:42 -05:00
Rodolfo Carvalho
5bfa7e8da7 Fix typos 2016-10-19 16:46:47 +02:00
Thomas Wiest
0f2ec2a841 Added anchors for rules in style_guide.adoc in order to make it easier to reference specific rules in PRs. 2016-01-15 10:16:06 -05:00
Thomas Wiest
e69887a190 added anchors 2016-01-14 11:23:34 -05:00
Scott Dodson
b1d30491f1 Remove yum / dnf duplication 2015-12-09 16:43:27 -05:00
Avesh Agarwal
abd6132a81 Changed the string Master to master to make it more readable. 2015-08-13 18:32:19 -04:00
Avesh Agarwal
000e179cb3 Changes to make documentation less specific to OSE or AE and also
adds README_AEP.md.
2015-08-13 18:30:33 -04:00
Thomas Wiest
56337d04f3 added decisions made at the last ansible arch meeting. 2015-07-22 10:30:06 -04:00
Thomas Wiest
0e67b142b4 documented ansible arch team decisions 2015-07-08 10:49:19 -04:00
Thomas Wiest
071880756c Added using Yaml syntax to best practices guide. 2015-06-24 13:24:26 -04:00
Thomas Wiest
b02c7b4960 Merge pull request #298 from twiest/aa2
added python new method params should use a default value to best practices guide.
2015-06-24 11:00:54 -04:00
Thomas Wiest
feed0b5595 added python new method params should use a default value to best practices guide. 2015-06-24 10:49:08 -04:00
Thomas Wiest
22d36791e9 added .yml extension to style guide. 2015-06-24 10:41:50 -04:00
Thomas Wiest
8625cf7d8b changed Openshift to OpenShift 2015-06-19 10:14:07 -04:00
Thomas Wiest
e43fc1b515 Added YAML over JSON to best practices guide. 2015-06-04 10:12:29 -04:00
Thomas Wiest
f906869478 Merge pull request #258 from twiest/pr
Added 'stylistic exception' to the best practices guide.
2015-06-04 09:58:48 -04:00