[mythtv-users] ansible error

Rick rick at laity.ca
Mon Apr 25 02:02:33 UTC 2016


On 4/24/2016 10:58 PM, Rick wrote:
> On 4/24/2016 7:50 PM, Peter Bennett (cats22) wrote:
>> On 04/24/2016 06:17 PM, Rick wrote:
>>> When running ansible-playbook -i hosts qt5.yml I receive the following
>>> error.
>>>
>>>
>>> ERROR! the playbook: qt5.yml could not be found
>>>
>>> I've cloned and installed ansible and I'm running F23.
>>>
>>> rick
>> If you are in the directory into which you cloned the ansible
>> repository, qt5.yml should be one of the files. Are you running from
>> that directory? Do you see the qt5.yml file?
>>
>> Note you will have to run ansible from sudo or root.
>>
>> Peter
>
> In order for this to work you also have to install python2 until ansible
> fixes it to use python3 on F23.
>
> I also hade to make the following changes in main.yml to get it to work
> for Fedora.
>
> - name: install mythtv essential perl modules
>   dnf:  name={{ item }} state=installed
>   with_items:
>    # - perl\(ExtUtils::MakeMaker\)
>      - perl-ExtUtils-MakeMaker
>    # - perl\(DBI\)
>      - perl-DBI
>    # - perl\(DBD::mysql\)
>      - perl-DBD-mysql
>    # - perl\(HTTP::Request\)
>    #  - perl-HTTP-Request COULDN'T FIND
>    # - perl\(LWP::UserAgent\)
>    #  - perl-LWP-UserAgent COULDN'T FIND
>    # - perl\(IO::Socket::INET6\)
>      - perl-IO-Socket-INET6
>    # - perl\(Date::Manip\)
>      - perl-Date-Manip
>    # - perl\(XML::Simple\)
>      - perl-XML-Simple
>    # - perl\(XML::XPath\)
>      - perl-XML-XPath
>    # - perl\(DateTime::Format::ISO8601\)
>      - perl-DateTime-Format-ISO8601
>    # - perl\(SOAP::Lite\)
>      - perl-SOAP-Lite
>    # - perl\(JSON\)
>      - perl-JSON
>
> - name: install mythtv essential perl modules - Fedora only
>   dnf:  name={{ item }} state=installed
>   when: ansible_distribution == "Fedora"
>   with_items:
> # not found on centos7
>    # - perl\(Image::Size\)
>      - perl-Image-Size
>    # - perl\(Net::UPnP::QueryResponse\)
>    #  - perl-Net-UPnP-QueryResponse COULDN'T FIND
>    # - perl\(Net::UPnP::ControlPoint\)
>    #  - perl-Net-UPnP-ControlPoint COULDN'T FIND
>
> rick

I omitted the python2 deps

python2 python2-dnf libselinux-python



More information about the mythtv-users mailing list