Giter Site home page Giter Site logo

ansible-github-enterprise's Issues

Parameterize zenoss and vmware steps

This playbook currently updates maintenance status in Zenoss and takes a snapshot of the VM in VMware whether one needs it or not. It would be nice to pull those steps out and make them optional for those who don't use Zenoss or VMware in their infrastructures.

Check for configuration run in progress

Upgrades to 2.14 fail with the following error:

TASK [upgrade-ghe : disable maintenance mode in GHE] ***************************
fatal: [github-stage.someplace.edu]: FAILED! => {"changed": false, "cmd": ["ghe-maintenance", "-u"], "delta": "0:00:00.096351", "end": "2018-07-12 17:29:12.469892", "msg": "non-zero return code", "rc": 1, "start": "2018-07-12 17:29:12.373541", "stderr": "", "stderr_lines": [], "stdout": "A configuration run is currently in progress. Unable to unset maintenance mode. Please try again after the configuration run is completed.", "stdout_lines": ["A configuration run is currently in progress. Unable to unset maintenance mode. Please try again after the configuration run is completed."]}
	to retry, use: --limit @/opt/ansible/ansible-github-enterprise/upgrade_ghe.retry

Add a check before this task that determines if the configuration run is complete or not before proceeding.

Add support for GitHub Enterprise 2.21 ghe-upgrade-check changes

In GitHub Enterprise 2.21, the ghe-upgrade-check command now returns two different strings depending on if the -i flag is given. This causes the current playbook to handle the version check incorrectly and attempt to upgrade even if GHE is already running the latest version.

Warnings thrown when running playbook with ansible 2.3.x

A few warnings are now being thrown when running this playbook in ansible 2.3.x.

TASK [upgrade-ghe : verify ghe-update-check results] ***************************
 [WARNING]: when statements should not include jinja2 templating delimiters
TASK [upgrade-ghe : set maintenance state in zenoss] ***************************
 [WARNING]: Module did not set no_log for password

etc.

Whatever ansible is complaining about here should probably be fixed.

Remove root environment workaround

The issue where ghe-update-check did not honor the system proxy setting was fixed in 2.6.4, so the workaround that preserved the root environment via a modified version of the script (ghe-update-check-OSU) can be removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.