Git Product home page Git Product logo

ansible-postgresql-on-el6's Introduction

Howdy! ๐Ÿ˜ƒ

I'm Alexey.

  • โค Love: Software design and engineering, databases, monitoring, troubleshooting, data visualization, web development.

  • ๐Ÿค” Hobbies: Outdoor activity, mountains, travels, mountain bike, snowboarding, coffee, books and more...

  • โš™๏ธ Projects:

    • ๐Ÿ’ป Pgcenter - Command-line admin tool for observing and troubleshooting Postgres. Development suspended, transferring to PostgresPro.
    • โ˜ ๏ธ Noisia - Harmful workload generator for PostgreSQL. Development suspended, transferring to PostgresPro.
    • ๐Ÿ“ก pgSCV - a multi-purpose metrics exporter for Prometheus, Victoriametrics. Archived.
    • ๐Ÿš€ pgstats.ru - PostgreSQL Observability Tools. Transferred to PostgresPro.
    • ๐Ÿ˜ Weaponry - terminated in Jan 2022.
  • ๐Ÿ“ Blogs, notes, books:

  • โš’๏ธ Career:

    • 2022.07 - now - Database/Software Engineer at PostgresPro.
    • 2022.01 - 2022.07 - Software Engineer at Coins.ph.
    • 2021.09 - 2021.12 - Devops and Software Engineer at Wildberries.
    • 2014.01 - 2021.09 - PostgreSQL DBA at Data Egret.

ansible-postgresql-on-el6's People

Contributors

lesovsky avatar programmer-ke avatar sergiosdlima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-postgresql-on-el6's Issues

Error running on Ansible v2

After upgrading to Ansible (2.0.1.0) I'm unable to get past Stage 1:

TASK [postgresql : Stage 1: install repository package] ************************
fatal: [axiom]: FAILED! => {"failed": true, "msg": "'str object' has no attribute 'repo'"}
to retry, use: --limit @webservers.retry

- name: "Stage 1: install repository package" yum: state: present pkg: "{{ item.repo }}" when: item.version == "{{ postgresql_version }}" with_items: postgresql_repo_{{ ansible_distribution }} tags: - postgresql

From what I can tell it isn't expanding the postgresql_repo_{{ ansible_distribution }} variable properly. If I hard code the variable name to 'postgresql_repo_CentOS' the play works.

fatal error while evaluating conditional: item.version == "9.4"

I added the lesovsky.postgresql-on-el6 role in my playbook, but this is causing an error, see:

TASK: [lesovsky.postgresql-on-el6 | Stage 1: install repository package] ******
fatal: [institucional] => error while evaluating conditional: item.version == "9.4"

replay the roole with error "msg": "error: noting to do\n",

Ever second,third,... time i play the role i have the following error.
if the packed pgdg-centos94-9.4-1.noarch.rpm is already installed.

Here is the error in german...

{
  "changed": true,
  "item": {
    "repo": "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm",
    "version": "9.4"
  },
  "rc": 1,
  "msg": "Fehler: Nichts zu tun\n",
  "play": "thingworx",
  "task": "Stage 1: install repository package",
  "role": "ansible-postgresql-on-el6",
  "ignore_errors": false,
  "status": "failed",
  "stdout": "Geladene Plugins: fastestmirror\n/var/tmp/yum-root-mux6vt/pgdg-centos94-9.4-1.noarch.rpm wird untersucht: pgdg-centos94-9.4-1.noarch\n/var/tmp/yum-root-mux6vt/pgdg-centos94-9.4-1.noarch.rpm: aktualisiert installierte Pakete nicht.\n\n",
  "module_name": "yum",
  "module_args": "",
  "created": "2016-01-26T12:40:15.288Z",
  "host_id": 87,
  "host_name": "backend",
  "id": 35056,
  "parent": 35054,
  "event": "Host Failed"
}
 Prev NextOK

Return Code: 1
Message: Fehler: Nichts zu tun
ignore_errors: false

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.