1. 14 Jun, 2016 3 commits
  2. 08 Jun, 2016 1 commit
  3. 03 Jun, 2016 1 commit
  4. 26 May, 2016 1 commit
    • add splunk searches via ansible (#3057) · 64f63650
      * add splunk searches via ansible
      
      * Fix jinja syntax, add docs
      
      * Add splunk field extractions via ansible
      
      * Use a boolean rather than a number
      
      The fact that splunk uses "1" and "0" to represent booleans is
      orthogonal to booleans in yaml. Switching to true booleans for a better
      user experience.
      
      * Additional cleanup around splunk searches interface
      
      * Switch splunk role to using common_vars and overrides
      
      This way, we can support environments where we don't, for example, use
      datadog.
      
      * Make splunk playbook actually call splunk role
      
      * Fix all the bugs
      
      * Add splunk email config
      
      * Make realtime alerts work
      
      * Add more documentation around splunk alerts
      
      * Address comments
      Fred Smith committed
  5. 23 May, 2016 1 commit
  6. 16 May, 2016 1 commit
  7. 13 Apr, 2016 1 commit
  8. 05 Apr, 2016 2 commits
  9. 04 Apr, 2016 1 commit
  10. 01 Apr, 2016 1 commit
  11. 31 Mar, 2016 1 commit
  12. 30 Mar, 2016 1 commit
  13. 21 Mar, 2016 1 commit
    • Fix a bug in the git module: branches might not check out properly · ae9e7380
      If a git version is specified as a branch, and the commit referred to is
      already on the local working tree, but the branch is not, then the
      checkout will fail.
      
      This is because the Ansible 1.9.3 module would check to see if the
      commit was already present, and if so, did not fetch. This meant the
      branch wasn't defined in the local working tree.
      
      This can happen if you make a branch but there aren't any changes on the
      branch.
      Ned Batchelder committed
  14. 02 Mar, 2016 4 commits
  15. 26 Feb, 2016 1 commit
    • Run migrate on every DB in DATABASES for both lms and the cms · 243ad1b6
      Does so by running the edxapp role just to generate config (as
      controlled by check-migrations.sh's use of the --tag) and then
      the tasks in the playbook are hardcoded to always run, regardless
      of the tag.  Because the edxapp play has run, the tasks have
      access to the various config variables containing DATABASES
      and can tell what DBs are in use.
      
      Skip the read replica
      Kevin Falcone committed
  16. 20 Feb, 2016 1 commit
    • Remove almost all references to syncdb · d7d7839e
      Django 1.8 removed the syncdb command so we can no longer run it, don't
      imply that we are running it in documentation/messages, also don't
      provide the scripts used on devstack/sandboxes to run it since they'll
      never work anyway.
      
      Additionally - remove yet another openid workaround which is unnecesary
      since the Django 1.8 upgrade.
      Kevin Falcone committed
  17. 16 Feb, 2016 2 commits
  18. 03 Feb, 2016 1 commit
  19. 01 Feb, 2016 1 commit
  20. 27 Jan, 2016 1 commit
  21. 25 Jan, 2016 4 commits
    • Refactor of role to handle initialization and reruns · e650a267
      Previously on this branch, it would attempt to create a superuser and
      initialize the replica set after the local host exemption had passed
      (once a mongod is started with a keyfile and the replicationSetName
       config file option or --replSet command line argument, you can't create
       users using the localhost exemption anymore ).
      
      This necesarily complicates the logic and requires us to track if we're
      initializing a replica set or not (with facts) and to template out
      /etc/mongod.conf twice in the initialization case.
      
      Further modifications to the replica set can be run against all the
      members and will install mongo on new machines while updating the
      replica set on the old machines.  With a further commit on this branch,
      we can avoid needlessly restarting mongo on all machines in the cluster.
      
      When we run this on an existing cluster, this stops and starts mongo for
      all machines it is run against.  We can't rely on the notify: since that
      happens at the end of the play and during initial cluster setup, we need
      to restart and pick up the changed config.
      
      Try to stick sensible tags on things
      
      Ensure mongo restarts on the cluster key file change
      
      Add a few playbook notes about common operations
      Kevin Falcone committed
    • OPS-967: Make mongo_3_0 role idempotent · 015b8bce
      Remove check for mongo 2.4 since this is the mongo_3_0 role
      This was probably carried over from the mongo 2 role. I see no reason
      why mongo 2.x and mongo 3 couldn't coexist on the same machine.
      
      Remove old hugepages init script check
      This was probably added while we were still iterating on our mongo 3
      deployment, but it should no longer be necessary.
      
      Clean up ansible syntax
      
      Don't move the old mongo data dirs
      This actually skips for edX because we provision machines that already
      have {{mongo_data_dir}} mounted on an external disk.  However, for
      non-edX use, this could fail if you turn on WiredTiger since it will
      move mmapv1 files into the mongo_data_dir and then mongo will fail to
      start because it has been told to use WiredTiger.
      
      Don't make this a serial play
      We usually run this on 3 machines, so serial: 3 was equivalent to
      ansible's default of "run everything in parallel" but this causes
      problems if you ever run it on 4 like we do for prod envs.
      In addition, this prevents run_once from working properly, and there are
      a number of things we only one to do on one machine (like creating a
      superuser).
      Max Rothman committed
    • rename play to match asg · fc35e056
      Fred Smith committed
  22. 13 Jan, 2016 1 commit
  23. 08 Jan, 2016 1 commit
  24. 21 Dec, 2015 1 commit
  25. 17 Dec, 2015 2 commits
  26. 14 Dec, 2015 2 commits
  27. 08 Dec, 2015 1 commit
  28. 03 Dec, 2015 1 commit