package in overcloud yum

Posted on

How can i install or update new package (yum) from undercloud director where we have a local yum repository to overcloud(controller compute so on)?
openstack overcloud update stack -i overcloud -e y.yml ?

please give me an example on how to write y.yaml if i like to be executed yum update or yum install curl on overcloud nodes.